Skip to content

Commit

Permalink
message updated
Browse files Browse the repository at this point in the history
  • Loading branch information
jheinecke committed Jun 5, 2023
1 parent ae49f58 commit 2b0c982
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/java/com/orange/labs/httpserver/ServeurHTTP.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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 + "'");
}
}

Expand Down

0 comments on commit 2b0c982

Please sign in to comment.