Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 274 for Equals (0.14 sec)

  1. maven-artifact/src/test/java/org/apache/maven/artifact/versioning/ComparableVersionTest.java

                // 2.0.X == 2-X == 2.0.0.X for any string x
                checkVersionsEqual("2-" + x, "2.0." + x); // previously ordered, now equals
                checkVersionsEqual("2-" + x, "2.0.0." + x); // previously ordered, now equals
                checkVersionsEqual("2.0." + x, "2.0.0." + x); // previously ordered, now equals
            }
        }
    
        @Test
        public void testMng7714() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 09 06:39:47 GMT 2024
    - 14K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

                        && Objects.equals(dependencyArtifacts, that.dependencyArtifacts)
                        && Objects.equals(workspace, that.workspace)
                        && Objects.equals(localRepo, that.localRepo)
                        && RepositoryUtils.repositoriesEquals(repositories, that.repositories)
                        && Objects.equals(collect, that.collect)
                        && Objects.equals(resolve, that.resolve)
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:49 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/artifact/FatArtifactTraverser.java

            requireNonNull(context, "context cannot be null");
            return this;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            } else if (null == obj || !getClass().equals(obj.getClass())) {
                return false;
            }
            return true;
        }
    
        @Override
        public int hashCode() {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/LatestArtifactTransformation.java

                throws ArtifactResolutionException, ArtifactNotFoundException {
            if (Artifact.LATEST_VERSION.equals(artifact.getVersion())) {
                try {
                    String version = resolveVersion(artifact, request);
                    if (Artifact.LATEST_VERSION.equals(version)) {
                        throw new ArtifactNotFoundException("Unable to determine the latest version", artifact);
                    }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 2.9K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
                if (o == null || getClass() != o.getClass()) {
                    return false;
                }
                Key<?> key = (Key<?>) o;
                return Objects.equals(id, key.id) && Objects.equals(type, key.type);
            }
    
            @Override
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 23:31:09 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
                        && parser.getLocalName().equals("project")) {
                    for (int i = 0; i < parser.getAttributeCount(); i++) {
                        if ("root".equals(parser.getAttributeLocalName(i))) {
                            return Boolean.parseBoolean(parser.getAttributeValue(i));
                        }
                    }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                this.properties = properties;
            }
    
            @Override
            public Object getValue(String expression) {
                if ("build.timestamp".equals(expression) || "maven.build.timestamp".equals(expression)) {
                    return new MavenBuildTimestamp(startTime, properties).formattedTimestamp();
                }
                return null;
            }
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifact.java

        @Nonnull
        @Override
        public ArtifactCoordinate toCoordinate() {
            return session.createArtifactCoordinate(this);
        }
    
        @Override
        public boolean equals(Object o) {
            return o instanceof Artifact && Objects.equals(key(), ((Artifact) o).key());
        }
    
        @Override
        public int hashCode() {
            return key.hashCode();
        }
    
        @Override
        public String toString() {
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Wed Dec 20 13:03:35 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginRealmCache.java

                        && Objects.equals(workspace, that.workspace)
                        && Objects.equals(localRepo, that.localRepo)
                        && RepositoryUtils.repositoriesEquals(this.repositories, that.repositories)
                        && Objects.equals(filter, that.filter)
                        && Objects.equals(foreignImports, that.foreignImports);
            }
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 7.4K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/artifact/resolver/filter/TypeArtifactFilter.java

            this.type = type;
        }
    
        public boolean include(Artifact artifact) {
            return type.equals(artifact.getType());
        }
    
        @Override
        public int hashCode() {
            int hash = 17;
            hash = hash * 31 + type.hashCode();
            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 1.7K bytes
    - Viewed (0)
Back to top