dougnoel / sentinel

A Selenium/Appium framework that enables users to focus on automating web and windows tests, so that automated tests can be written in a non-technical way in the same amount of time as manual tests can be executed.
Apache License 2.0
11 stars 13 forks source link

Add Javadoc comments to convertPathSeparators and sanitizeString #483

Open dougnoel opened 1 year ago

dougnoel commented 1 year ago

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\\.\\-]", "_");
}