mirror of
https://github.com/overcuriousity/autopsy-flatpak.git
synced 2025-07-15 09:17:42 +00:00
fix comment formatting
This commit is contained in:
parent
5ed0b761d2
commit
eb0f20f9e0
@ -164,8 +164,7 @@ public class FileUtil {
|
|||||||
*/
|
*/
|
||||||
public static String escapeFileName(String fileName) {
|
public static String escapeFileName(String fileName) {
|
||||||
//for now escaping /:"*?<>| (not valid in file name, at least on Windows)
|
//for now escaping /:"*?<>| (not valid in file name, at least on Windows)
|
||||||
//with underscores.
|
//with underscores. We are only keeping \ as it could be part of the path.
|
||||||
//We are only keeping \ as it could be part of the path
|
|
||||||
return fileName.replaceAll("[\\/:\"*?<>|]+", "_");
|
return fileName.replaceAll("[\\/:\"*?<>|]+", "_");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user