From 2b0c98288f1a3e68005e33f1b6ebbb80f7082d2d Mon Sep 17 00:00:00 2001 From: Johannes Heinecke Date: Mon, 5 Jun 2023 08:22:12 +0200 Subject: [PATCH] message updated --- src/main/java/com/orange/labs/httpserver/ServeurHTTP.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/orange/labs/httpserver/ServeurHTTP.java b/src/main/java/com/orange/labs/httpserver/ServeurHTTP.java index f8dca1c..d60478d 100644 --- a/src/main/java/com/orange/labs/httpserver/ServeurHTTP.java +++ b/src/main/java/com/orange/labs/httpserver/ServeurHTTP.java @@ -28,7 +28,7 @@ THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. @author Johannes Heinecke - @version 2.22.3 as of 4th June 2023 + @version 2.22.3 as of 5th June 2023 */ package com.orange.labs.httpserver; @@ -140,10 +140,10 @@ public ServeurHTTP(int port, /*ConlluEditor */ Object e, String rootdir, int deb throw new IOException(rootdir + " is not a directory"); } if (!Files.exists(new File(rootdir, indexhtml).toPath())) { - throw new IOException(rootdir + " does contain '" + indexhtml + "'"); + throw new IOException(rootdir + " does not contain '" + indexhtml + "'"); } if (!Files.exists(new File(rootdir, indexjs).toPath())) { - throw new IOException(rootdir + " does contain '" + indexjs + "'"); + throw new IOException(rootdir + " does not contain '" + indexjs + "'"); } }