Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for normalize (0.2 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            // similar component for re-usage
            if (file != null) {
                if (file.isAbsolute()) {
                    // path was already absolute, just normalize file separator and we're done
                } else if (file.getPath().startsWith(File.separator)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  3. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

            public int getType() {
                return LIST_ITEM;
            }
    
            @Override
            public boolean isNull() {
                return (size() == 0);
            }
    
            void normalize() {
                for (int i = size() - 1; i >= 0; i--) {
                    Item lastItem = get(i);
    
                    if (lastItem.isNull()) {
                        if (i == size() - 1 || get(i + 1).getType() == STRING_ITEM) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 26K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

            }
    
            private final UrlNormalizer normalizer;
    
            UrlNormalizingPostProcessor(UrlNormalizer normalizer) {
                this.normalizer = normalizer;
            }
    
            @Override
            public Object execute(String expression, Object value) {
                if (value != null && URL_EXPRESSIONS.contains(expression)) {
                    return normalizer.normalize(value.toString());
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                if (retValue.length() >= 2 && retValue.charAt(1) == '|') {
                    retValue = retValue.charAt(0) + ":" + retValue.substring(2);
                }
    
                // normalize separators
                retValue = new File(retValue).getPath();
            }
    
            if (retValue == null) {
                retValue = "/";
            }
            return retValue.trim();
        }
    
        /**
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultPluginValidationManager.java

                    } else {
                        Path topDirectory = mavenSession.getTopDirectory();
                        Path locationPath = Paths.get(location).toAbsolutePath().normalize();
                        if (locationPath.startsWith(topDirectory)) {
                            locationPath = topDirectory.relativize(locationPath);
                        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Sun Nov 19 21:11:13 GMT 2023
    - 17.4K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/DefaultMavenProjectBuilder.java

                        }
                        normalized = true;
                    } else {
                        repos.add((ArtifactRepository) repository);
                    }
                }
    
                if (normalized) {
                    return repos;
                }
            }
    
            return (List<ArtifactRepository>) repositories;
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 12.1K bytes
    - Viewed (0)
Back to top