Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 51 for startsWith (0.18 sec)

  1. maven-core/src/main/java/org/apache/maven/artifact/repository/MavenArtifactRepository.java

                retValue = url.substring(protocol.length() + 1);
                retValue = decode(retValue);
                // special case: if omitted // on protocol, keep path as is
                if (retValue.startsWith("//")) {
                    retValue = retValue.substring(2);
    
                    if (retValue.length() >= 2 && (retValue.charAt(1) == '|' || retValue.charAt(1) == ':')) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 11K bytes
    - Viewed (0)
  2. 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);
                        }
                        stringBuilder.append(" (").append(locationPath).append(")");
                    }
    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)
  3. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTransport.java

            if (relativeSource.isAbsolute()) {
                throw new IllegalArgumentException("Supplied URI is not relative");
            }
            URI source = baseURI.resolve(relativeSource);
            if (!source.toASCIIString().startsWith(baseURI.toASCIIString())) {
                throw new IllegalArgumentException("Supplied relative URI escapes baseUrl");
            }
            GetTask getTask = new GetTask(source);
            getTask.setDataFile(target.toFile());
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java

                } else if (isNoteworthyException(exception)) {
                    reference = exception.getClass().getSimpleName();
                }
            }
    
            if ((reference != null && !reference.isEmpty()) && !reference.startsWith("http:")) {
                reference = "http://cwiki.apache.org/confluence/display/MAVEN/" + reference;
            }
    
            return reference;
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jul 19 15:37:28 GMT 2023
    - 10.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultPathTranslator.java

                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)) {
                    // drive-relative Windows path, don't align with project directory but with drive root
                    result = file.getAbsolutePath();
                } else {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2K bytes
    - Viewed (0)
  6. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-javadoc.jar

     containsString("ring")) Parameters: substring - the substring that the returned matcher will expect to find within any examined string startsWith public static Matcher<java.lang.String> startsWith(java.lang.String prefix) Creates a matcher that matches if the examined String starts with the specified String. For example: assertThat("myStringOfNote", startsWith("my")) Parameters: prefix - the substring that the returned matcher will expect at the start of any examined string endsWith public static...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 236.8K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                }
            }
    
            private boolean isQualifiedForInterpolation(Class<?> cls) {
                return !cls.getPackage().getName().startsWith("java")
                        && !cls.getPackage().getName().startsWith("sun.nio.fs");
            }
    
            private boolean isQualifiedForInterpolation(Field field, Class<?> fieldType) {
                if (!PRIMITIVE_BY_CLASS.containsKey(fieldType)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Jun 15 14:24:56 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

            SomeBean bean = new SomeBean();
    
            Xpp3Dom config = toConfig("<file>${test}</file>");
    
            BeanConfigurationValuePreprocessor preprocessor = (value, type) -> {
                if (value != null && value.startsWith("${") && value.endsWith("}")) {
                    return value.substring(2, value.length() - 1);
                }
                return value;
            };
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

            return repositoryUrl;
        }
    
        public String getName() {
            String name = resource.getName();
    
            if (name == null) {
                name = "";
            } else if (name.startsWith("/")) {
                name = name.substring(1);
            }
    
            return name;
        }
    
        public String getUrl() {
            return getRepositoryUrl() + getName();
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

                if (part2.length() == 1 || !part2.startsWith("0")) {
                    buildNumber = tryParseInt(part2);
                    if (buildNumber == null) {
                        qualifier = part2;
                    }
                } else {
                    qualifier = part2;
                }
            }
    
            if ((!part1.contains(".")) && !part1.startsWith("0")) {
                majorVersion = tryParseInt(part1);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Nov 17 15:50:51 GMT 2023
    - 6K bytes
    - Viewed (0)
Back to top