fix comment formatting

This commit is contained in:
momo 2015-09-25 12:57:13 -04:00
parent 5ed0b761d2
commit eb0f20f9e0

View File

@ -164,8 +164,7 @@ public class FileUtil {
*/
public static String escapeFileName(String fileName) {
//for now escaping /:"*?<>| (not valid in file name, at least on Windows)
//with underscores.
//We are only keeping \ as it could be part of the path
//with underscores. We are only keeping \ as it could be part of the path.
return fileName.replaceAll("[\\/:\"*?<>|]+", "_");
}
}