Improved: no functional change
In my previous commit I forgot I used FileUtile::normalizePath (old name
of now normalizeFilePath) in FileUtile::getFile. This is useless, and reverted
here
@@ -134,7 +134,7 @@ public final class FileUtil {
return null;
}
}
- return new File(root, normalizePath(localizePath(path)));
+ return new File(root, localizePath(path));
}
/**
@@ -415,7 +415,7 @@ public final class FileUtil {
*
* @param fileStream
* @param fileName
- * @return
+ * @return zipStream
* @throws IOException
*/
public static ByteArrayInputStream zipFileStream(InputStream fileStream, String fileName) throws IOException {
