Skip to content

Add Javadoc comments to convertPathSeparators and sanitizeString #483

@dougnoel

Description

@dougnoel

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

Metadata

Metadata

Assignees

Labels

Code CleanupFixing code lintingdocumentationImprovements or additions to documentation

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions