Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 29 for endswith (0.2 sec)

  1. 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)
  2. 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)
  3. 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)
  4. maven-core/src/main/java/org/apache/maven/project/MavenProject.java

                if (modules != null) {
                    for (String modulePath : modules) {
                        String moduleName = modulePath;
    
                        if (moduleName.endsWith("/") || moduleName.endsWith("\\")) {
                            moduleName = moduleName.substring(0, moduleName.length() - 1);
                        }
    
                        int lastSlash = moduleName.lastIndexOf('/');
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 56.6K bytes
    - Viewed (0)
  5. maven-compat/src/main/java/org/apache/maven/repository/legacy/MavenArtifact.java

        private long transferStartTime;
    
        MavenArtifact(String repositoryUrl, Resource resource) {
            if (repositoryUrl == null) {
                this.repositoryUrl = "";
            } else if (!repositoryUrl.endsWith("/") && !repositoryUrl.isEmpty()) {
                this.repositoryUrl = repositoryUrl + '/';
            } else {
                this.repositoryUrl = repositoryUrl;
            }
            this.resource = resource;
    
    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)
  6. maven-core/src/test/java/org/apache/maven/classrealm/DefaultClassRealmManagerTest.java

    import org.mockito.MockedStatic;
    import org.mockito.Mockito;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import static org.hamcrest.MatcherAssert.assertThat;
    import static org.hamcrest.Matchers.endsWith;
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.mockito.Mockito.calls;
    import static org.mockito.Mockito.inOrder;
    import static org.mockito.Mockito.mock;
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Jan 10 12:53:42 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                        int num = Integer.parseInt(expression.substring(2, expression.length() - 1));
                        filters.add(new HighestVersionFilter(num));
                    } else if ("l".equals(expression)) {
                        filters.add(new LowestVersionFilter());
                    } else if (expression.startsWith("l(") && expression.endsWith(")")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 27.5K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/RepositoryUtils.java

                 */
                String className = repo.getLayout().getClass().getSimpleName();
                if (className.endsWith("RepositoryLayout")) {
                    String layout = className.substring(0, className.length() - "RepositoryLayout".length());
                    if (!layout.isEmpty()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 16K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/DefaultVersionResolver.java

                        artifact.getGroupId(),
                        artifact.getArtifactId(),
                        MAVEN_METADATA_XML,
                        Metadata.Nature.RELEASE_OR_SNAPSHOT);
            } else if (version.endsWith(SNAPSHOT)) {
                WorkspaceReader workspace = session.getWorkspaceReader();
                if (workspace != null && workspace.findVersions(artifact).contains(version)) {
                    metadata = null;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20.2K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

            }
    
            for (Object metadata : result.getMetadata()) {
                if (metadata.getClass().getName().endsWith(".internal.VersionsMetadata")) {
                    relatedMetadata.put(versionKey, (MergeableMetadata) metadata);
                }
                if (snapshotKey != null && metadata.getClass().getName().endsWith(".internal.RemoteSnapshotMetadata")) {
                    relatedMetadata.put(snapshotKey, (MergeableMetadata) metadata);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.4K bytes
    - Viewed (0)
Back to top