Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for endsWith (0.19 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

                } else if (token.startsWith("(")) {
                    ranges.add(new RangeValue(token.replace("(", ""), false));
                } else if (token.endsWith("]")) {
                    ranges.add(new RangeValue(token.replace("]", ""), true));
                } else if (token.endsWith(")")) {
                    ranges.add(new RangeValue(token.replace(")", ""), false));
                } else if (token.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

            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.8K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.codehaus.plexus.testing.PlexusExtension.getBasedir;
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.endsWith;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    
    @Deprecated
    class ProjectDependenciesResolverTest extends AbstractCoreMavenComponentTestCase {
        @Inject
        private ProjectDependenciesResolver resolver;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

        }
    
        @Override
        public boolean isSnapshot(String version) {
            return checkSnapshot(version);
        }
    
        public static boolean checkSnapshot(String version) {
            return version.endsWith(SNAPSHOT) || SNAPSHOT_TIMESTAMP.matcher(version).matches();
        }
    
        @Override
        public VersionConstraint parseVersionConstraint(String constraint) {
            requireNonNull(constraint, "constraint");
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/relocation/UserPropertiesArtifactRelocationSource.java

            return "*".equals(str);
        }
    
        private static boolean matches(String pattern, String str) {
            if (isAny(pattern)) {
                return true;
            } else if (pattern.endsWith("*")) {
                return str.startsWith(pattern.substring(0, pattern.length() - 1));
            } else {
                return Objects.equals(pattern, str);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertThat(pom.getValue("build/filters[1]").toString(), endsWith("child-a.properties"));
            assertThat(pom.getValue("build/filters[2]").toString(), endsWith("child-c.properties"));
            assertThat(pom.getValue("build/filters[3]").toString(), endsWith("child-b.properties"));
            assertThat(pom.getValue("build/filters[4]").toString(), endsWith("child-d.properties"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/Os.java

                case FAMILY_UNIX:
                    return PATH_SEP.equals(":")
                            && !isFamily(FAMILY_OPENVMS, actualOsName)
                            && (!isFamily(FAMILY_MAC, actualOsName) || actualOsName.endsWith("x"));
                case FAMILY_ZOS:
                    return actualOsName.contains(FAMILY_ZOS) || actualOsName.contains(FAMILY_OS390);
                case FAMILY_OS400:
                    return actualOsName.contains(FAMILY_OS400);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

            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-artifact/src/main/java/org/apache/maven/artifact/versioning/VersionRange.java

        }
    
        private static Restriction parseRestriction(String spec) throws InvalidVersionSpecificationException {
            boolean lowerBoundInclusive = spec.startsWith("[");
            boolean upperBoundInclusive = spec.endsWith("]");
    
            String process = spec.substring(1, spec.length() - 1).trim();
    
            Restriction restriction;
    
            int index = process.indexOf(',');
    
            if (index < 0) {
    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)
  10. maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

            ArtifactRepository localRepo = repositorySystem.createLocalRepository(localRepoDir);
    
            String basedir = localRepo.getBasedir();
    
            assertFalse(basedir.endsWith("/"));
            assertFalse(basedir.endsWith("\\"));
    
            assertEquals(localRepoDir, new File(basedir));
    
            assertEquals(localRepoDir.getPath(), basedir);
        }
    
        @Inject
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 15:10:38 GMT 2024
    - 8.8K bytes
    - Viewed (0)
Back to top