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)
10331033 }
10341034
10351035 /**
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.
10371037 * @param pathString to be sanitized
10381038 * @return sanitized path string
10391039 */
1040- private static String santizePathString (String pathString ) {
1040+ private static String sanitizePathString (String pathString ) {
10411041 // Replace ':' by '_', as the extractor does - to handle Windows drive letters
10421042 pathString = pathString .replace (':' , '_' );
10431043
@@ -1059,7 +1059,7 @@ private static String santizePathString(String pathString) {
10591059 */
10601060 public static File appendAbsolutePath (File root , String absolutePath )
10611061 {
1062- absolutePath = santizePathString (absolutePath );
1062+ absolutePath = sanitizePathString (absolutePath );
10631063
10641064 return new File (root , absolutePath ).getAbsoluteFile ();
10651065 }
@@ -1075,7 +1075,7 @@ public static File appendAbsolutePath (File root, String absolutePath)
10751075 */
10761076 public static Path appendAbsolutePath (Path root , String absolutePathString ){
10771077
1078- absolutePathString = santizePathString (absolutePathString );
1078+ absolutePathString = sanitizePathString (absolutePathString );
10791079
10801080 Path path = Paths .get (absolutePathString );
10811081
You can’t perform that action at this time.
0 commit comments