Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 1,167 for Equals (0.09 seconds)

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

                public Collection<ProducedArtifact> getArtifacts() {
                    return artifacts;
                }
    
                @Override
                public boolean equals(Object o) {
                    return o instanceof DefaultArtifactInstallerRequest that && Objects.equals(artifacts, that.artifacts);
                }
    
                @Override
                public int hashCode() {
                    return Objects.hashCode(artifacts);
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Feb 07 00:45:02 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/ForwardingMap.java

       */
      protected boolean standardIsEmpty() {
        return !entrySet().iterator().hasNext();
      }
    
      /**
       * A sensible definition of {@link #equals} in terms of the {@code equals} method of {@link
       * #entrySet}. If you override {@link #entrySet}, you may wish to override {@link #equals} to
       * forward to this implementation.
       *
       * @since 7.0
       */
      protected boolean standardEquals(@Nullable Object object) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Aug 06 17:32:30 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  3. 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)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java

                configProps.put(JDK_HTTP_TRANSPORTER_PRIORITY_KEY, RESOLVER_MAX_PRIORITY);
            } else if (MAVEN_RESOLVER_TRANSPORT_APACHE.equals(transport)
                    || MAVEN_RESOLVER_TRANSPORT_NATIVE.equals(transport)) {
                if (MAVEN_RESOLVER_TRANSPORT_NATIVE.equals(transport)) {
                    logger.warn(
                            "Transport name '{}' is DEPRECATED/RENAMED, use '{}' instead",
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jul 17 05:56:35 GMT 2025
    - 25.8K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultProjectArtifactFactory.java

            } else if (Artifact.SCOPE_COMPILE.equals(originalScope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile scope. Remove if you want to compile inherited as runtime
                effectiveScope = Artifact.SCOPE_COMPILE;
            } else if (Artifact.SCOPE_TEST.equals(inheritedScope)) {
                effectiveScope = Artifact.SCOPE_TEST;
            } else if (Artifact.SCOPE_PROVIDED.equals(inheritedScope)) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ArtifactModelSource.java

        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
            if (obj == null) {
                return false;
            }
    
            if (!ArtifactModelSource.class.equals(obj.getClass())) {
                return false;
            }
    
            ArtifactModelSource other = (ArtifactModelSource) obj;
            return Objects.equals(artifactId, other.artifactId)
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. 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)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexer.java

                if (name.equals("li")) {
                    unwindTo(Arrays.asList("ul", "ol"), visitor);
                } else if (name.equals("dt") || name.endsWith("dd")) {
                    unwindTo(Arrays.asList("dl"), visitor);
                } else if (name.equals("tr")) {
                    unwindTo(Arrays.asList("table", "thead", "tbody"), visitor);
                } else if (name.equals("th") || name.endsWith("td")) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.8K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

                }
            } else if ("reactorProjects".equals(expression)) {
                value = session.getProjects();
            } else if ("project".equals(expression)) {
                value = project;
            } else if ("executedProject".equals(expression)) {
                value = project.getExecutionProject();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  10. api/maven-api-metadata/src/main/mdo/metadata.mdo

                        v.getVersions().add( version );
                    }
                }
    
                if ( "null".equals( versioning.getLastUpdated() ) )
                {
                    versioning.setLastUpdated( null );
                }
    
                if ( "null".equals( v.getLastUpdated() ) )
                {
                    v.setLastUpdated( null );
                }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed May 15 17:32:27 GMT 2024
    - 15.8K bytes
    - Click Count (0)
Back to Top