Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 1,186 for equals (0.04 seconds)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderRequest.java

                            && Objects.equals(inactiveProfileIds, that.inactiveProfileIds)
                            && Objects.equals(systemProperties, that.systemProperties)
                            && Objects.equals(userProperties, that.userProperties)
                            && repositoryMerging == that.repositoryMerging
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 16.3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/project/artifact/DefaultProjectArtifactsCache.java

            }
    
            @Override
            public boolean equals(Object o) {
                if (o == this) {
                    return true;
                }
                if (o instanceof CacheKey that) {
                    return Objects.equals(groupId, that.groupId)
                            && Objects.equals(artifactId, that.artifactId)
                            && Objects.equals(version, that.version)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

            return "org.apache.maven.api.di.Typed".equals(annotationType.getName())
                    || "org.eclipse.sisu.Typed".equals(annotationType.getName())
                    || "javax.enterprise.inject.Typed".equals(annotationType.getName())
                    || "jakarta.enterprise.inject.Typed".equals(annotationType.getName());
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/LicenseTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new License().equals(null));
    
            new License().equals(new License());
        }
    
        @Test
        void testEqualsIdentity() {
            License thing = new License();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/ForwardingSet.java

      /** Constructor for use by subclasses. */
      protected ForwardingSet() {}
    
      @Override
      protected abstract Set<E> delegate();
    
      @Override
      public boolean equals(@Nullable Object object) {
        return object == this || delegate().equals(object);
      }
    
      @Override
      public int hashCode() {
        return delegate().hashCode();
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.7K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/Interner.java

       * Chooses and returns the representative instance for any of a collection of instances that are
       * equal to each other. If two {@linkplain Object#equals equal} inputs are given to this method,
       * both calls will return the same instance. That is, {@code intern(a).equals(a)} always holds,
       * and {@code intern(a) == intern(b)} if and only if {@code a.equals(b)}. Note that {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java

            if ("always".equals(styleColor) || "yes".equals(styleColor) || "force".equals(styleColor)) {
                context.coloredOutput = true;
            } else if ("never".equals(styleColor) || "no".equals(styleColor) || "none".equals(styleColor)) {
                context.coloredOutput = false;
            } else if (!"auto".equals(styleColor) && !"tty".equals(styleColor) && !"if-tty".equals(styleColor)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Oct 28 13:01:07 GMT 2025
    - 43.2K bytes
    - Click Count (0)
  8. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/TestMetadataSource.java

                throws ArtifactMetadataRetrievalException {
            Set<Artifact> dependencies = new HashSet<>();
    
            if ("g".equals(artifact.getArtifactId())) {
                Artifact a = null;
                try {
                    a = factory.createBuildArtifact("org.apache.maven", "h", "1.0", "jar");
                    dependencies.add(a);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

            @Override
            public boolean equals(Object obj) {
                if (this == obj) {
                    return true;
                }
                if (null == obj || !getClass().equals(obj.getClass())) {
                    return false;
                }
    
                Key that = (Key) obj;
                return artifactId.equals(that.artifactId)
                        && groupId.equals(that.groupId)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactCoordinatesFactoryRequest.java

                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultArtifactFactoryRequestArtifact that
                            && Objects.equals(groupId, that.groupId)
                            && Objects.equals(artifactId, that.artifactId)
                            && Objects.equals(version, that.version)
                            && Objects.equals(classifier, that.classifier)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 9.1K bytes
    - Click Count (0)
Back to Top