Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for startsWith (0.17 sec)

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

            return ((type.isPrimitive() || type.getName().startsWith("java.lang."))
                    && value.getClass().getName().startsWith("java.lang."));
        }
    
        private String stripTokens(String expr) {
            if (expr.startsWith("${") && (expr.indexOf('}') == expr.length() - 1)) {
                expr = expr.substring(2, expr.length() - 1);
            }
    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)
  2. maven-core/src/test/resources/apiv4-repo/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3-sources.jar

    {@link String} starts with the specified * {@link String}. * <p/> * For example: * <pre>assertThat("myStringOfNote", startsWith("my"))</pre> * * @param prefix * the substring that the returned matcher will expect at the start of any examined string */ public static org.hamcrest.Matcher<java.lang.String> startsWith(java.lang.String prefix) { return org.hamcrest.core.StringStartsWith.startsWith(prefix); } /** * Creates a matcher that matches if the examined {@link String} ends with the specified * {@link...
    Archive
    - Registered: Sun Apr 14 03:35:08 GMT 2024
    - Last Modified: Sun Oct 02 08:41:25 GMT 2022
    - 31.9K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                                if ("basedir".equals(expression)) {
                                    return projectDir.toAbsolutePath().toString();
                                } else if (expression.startsWith("basedir.")) {
                                    Path basedir = projectDir.toAbsolutePath();
                                    return new ObjectBasedValueSource(basedir)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  4. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

            String process = spec;
            ArtifactVersion version = null;
            ArtifactVersion upperBound = null;
            ArtifactVersion lowerBound = null;
    
            while (process.startsWith("[") || process.startsWith("(")) {
                int index1 = process.indexOf(')');
                int index2 = process.indexOf(']');
    
                int index = index2;
                if (index2 < 0 || index1 < index2) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 18.9K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java

                    ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE);
        }
    
        private String canonicalFileUrl(String url) throws IOException {
            if (!url.startsWith("file:")) {
                url = "file://" + url;
            } else if (url.startsWith("file:") && !url.startsWith("file://")) {
                url = "file://" + url.substring("file:".length());
            }
    
            // So now we have an url of the form file://<path>
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 31.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/project/ProjectSorter.java

                    throw e;
                }
            }
        }
    
        private boolean isSpecificVersion(String version) {
            return !((version == null || version.isEmpty()) || version.startsWith("[") || version.startsWith("("));
        }
    
        // TODO !![jc; 28-jul-2005] check this; if we're using '-r' and there are aggregator tasks, this will result in
        // weirdness.
        public MavenProject getTopLevelProject() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:02:04 GMT 2023
    - 10.3K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            return ((type.isPrimitive() || type.getName().startsWith("java.lang."))
                    && value.getClass().getName().startsWith("java.lang."));
        }
    
        private String stripTokens(String expr) {
            if (expr.startsWith("${") && (expr.indexOf('}') == expr.length() - 1)) {
                expr = expr.substring(2, expr.length() - 1);
            }
    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)
  8. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

            return artifact.getFile() == null
                    || artifact.getFile()
                            .getPath()
                            .startsWith(session.getLocalRepository().getBasedir().getPath());
        }
    
        /**
         * Unravels trace tree (going upwards from current node), looking for {@link CollectStepData} trace data.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultSettingsBuilder.java

            if (localRepository != null && !localRepository.isEmpty()) {
                Path file = Paths.get(localRepository);
                if (!file.isAbsolute() && file.toString().startsWith(File.separator)) {
                    effective = effective.withLocalRepository(file.toAbsolutePath().toString());
                }
            }
    
            if (hasErrors(problems)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 12K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/DefaultConsumerPomBuilder.java

                List<String> paths = map.keySet().stream()
                        .map(Object::toString)
                        .filter(s -> s.startsWith("SourceCacheKey"))
                        .map(s -> s.substring("SourceCacheKey[location=".length(), s.indexOf(", tag")))
                        .sorted()
                        .distinct()
                        .toList();
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 12.4K bytes
    - Viewed (0)
Back to top