- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for normalize (0.64 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java
path = path.replace('\\', File.separatorChar).replace('/', File.separatorChar); File file = new File(path); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done result = file.getPath(); } else if (file.getPath().startsWith(File.separator)) {
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
return null; } String s = stripBasedirToken(path); File file = new File(s); if (file.isAbsolute()) { // path was already absolute, just normalize file separator and we're done s = file.getPath(); } else if (file.getPath().startsWith(File.separator)) { // drive-relative Windows path, don't align with project directory but with drive root
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Feb 28 07:40:37 GMT 2024 - 7.2K bytes - Viewed (0)