fix for wrong class name in log

pull/1/head
Michael Peter Christen 12 years ago
parent 2d36a7eaf5
commit b3a54d5b1c

@ -1215,9 +1215,9 @@ public final class HTTPDFileHandler {
} }
} }
} else { } else {
if (!targetFile.exists()) Log.logWarning("HTTPFileHandler", "target file " + targetFile.getAbsolutePath() + " does not exist"); if (!targetFile.exists()) Log.logWarning("HTTPDFileHandler", "target file " + targetFile.getAbsolutePath() + " does not exist");
//if (!targetFile.isFile()) Log.logWarning("HTTPFileHandler", "target file " + targetFile.getAbsolutePath() + " is not a file"); //if (!targetFile.isFile()) Log.logWarning("HTTPDFileHandler", "target file " + targetFile.getAbsolutePath() + " is not a file");
//if (!targetFile.canRead()) Log.logWarning("HTTPFileHandler", "target file " + targetFile.getAbsolutePath() + " cannot read"); //if (!targetFile.canRead()) Log.logWarning("HTTPDFileHandler", "target file " + targetFile.getAbsolutePath() + " cannot read");
HTTPDemon.sendRespondError(conProp,out,3,404,"File not Found",null,null); HTTPDemon.sendRespondError(conProp,out,3,404,"File not Found",null,null);
return; return;
} }

Loading…
Cancel
Save