File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
java/kotlin-extractor/src/main/java/com/semmle/util/files Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -1033,11 +1033,11 @@ public boolean accept (File pathname)
1033
1033
}
1034
1034
1035
1035
/**
1036
- * Santize path string To handle windows drive letters and cross-platform builds.
1036
+ * Sanitize path string To handle windows drive letters and cross-platform builds.
1037
1037
* @param pathString to be sanitized
1038
1038
* @return sanitized path string
1039
1039
*/
1040
- private static String santizePathString (String pathString ) {
1040
+ private static String sanitizePathString (String pathString ) {
1041
1041
// Replace ':' by '_', as the extractor does - to handle Windows drive letters
1042
1042
pathString = pathString .replace (':' , '_' );
1043
1043
@@ -1059,7 +1059,7 @@ private static String santizePathString(String pathString) {
1059
1059
*/
1060
1060
public static File appendAbsolutePath (File root , String absolutePath )
1061
1061
{
1062
- absolutePath = santizePathString (absolutePath );
1062
+ absolutePath = sanitizePathString (absolutePath );
1063
1063
1064
1064
return new File (root , absolutePath ).getAbsoluteFile ();
1065
1065
}
@@ -1075,7 +1075,7 @@ public static File appendAbsolutePath (File root, String absolutePath)
1075
1075
*/
1076
1076
public static Path appendAbsolutePath (Path root , String absolutePathString ){
1077
1077
1078
- absolutePathString = santizePathString (absolutePathString );
1078
+ absolutePathString = sanitizePathString (absolutePathString );
1079
1079
1080
1080
Path path = Paths .get (absolutePathString );
1081
1081
You can’t perform that action at this time.
0 commit comments