Add Javadoc comments to convertPathSeparators and sanitizeString
dougnoel opened this issue · 0 comments
dougnoel commented
src/main/java/com/dougnoel/sentinel/system/FileManager
Please add Javadoc comments to these two methods.
public static String convertPathSeparators(String path) {
return path.replace("/", File.separator);
}
public static String sanitizeString(String toSanitize) {
return toSanitize.replaceAll("[^a-zA-Z0-9\\.\\-]", "_");
}