Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,525 for Equals (0.03 sec)

  1. compat/maven-model/src/test/java/org/apache/maven/model/DeveloperTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Developer().equals(null));
    
            new Developer().equals(new Developer());
        }
    
        @Test
        void testEqualsIdentity() {
            Developer thing = new Developer();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/ParentTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Parent().equals(null));
    
            new Parent().equals(new Parent());
        }
    
        @Test
        void testEqualsIdentity() {
            Parent thing = new Parent();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java

            if (inheritedScope == null) {
                desiredScope = scope;
            } else if (Artifact.SCOPE_TEST.equals(scope) || Artifact.SCOPE_PROVIDED.equals(scope)) {
                return null;
            } else if (Artifact.SCOPE_COMPILE.equals(scope) && Artifact.SCOPE_COMPILE.equals(inheritedScope)) {
                // added to retain compile artifactScope. Remove if you want to compile inherited as runtime
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. compat/maven-model/src/test/java/org/apache/maven/model/ScmTest.java

            new Scm().hashCode();
        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Scm().equals(null));
    
            new Scm().equals(new Scm());
        }
    
        @Test
        void testEqualsIdentity() {
            Scm thing = new Scm();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
            assertNotNull(new Scm().toString());
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

          // filter out equals/hashCode/toString
          if (method.getName().equals("equals")
              && method.getParameterTypes().length == 1
              && method.getParameterTypes()[0] == Object.class) {
            continue;
          }
          if (method.getName().equals("hashCode") && method.getParameterTypes().length == 0) {
            continue;
          }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

            if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_FAIL.equals(policy)) {
                return 2;
            } else if (ArtifactRepositoryPolicy.CHECKSUM_POLICY_IGNORE.equals(policy)) {
                return 0;
            } else {
                return 1;
            }
        }
    
        private int ordinalOfUpdatePolicy(String policy) {
            if (ArtifactRepositoryPolicy.UPDATE_POLICY_DAILY.equals(policy)) {
                return 1440;
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

              e,
              equalObject1
                  + " [group 1, item 1] must be Object#equals to "
                  + notEqualObject1
                  + " [group 1, item 2]");
          return;
        }
        fail("Should get not equal to equal object error");
      }
    
      /**
       * Test EqualsTester with no equals or not equals objects. This checks proper handling of null,
       * incompatible class and reflexive tests
       */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  8. compat/maven-model/src/test/java/org/apache/maven/model/DependencyManagementTest.java

        @Test
        void testEqualsNullSafe() {
            assertFalse(new DependencyManagement().equals(null));
    
            new DependencyManagement().equals(new DependencyManagement());
        }
    
        @Test
        void testEqualsIdentity() {
            DependencyManagement thing = new DependencyManagement();
            assertTrue(thing.equals(thing), "Expected " + thing + " to equal " + thing);
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapFile.java

            this.lastmod = lastmod;
        }
    
        /**
         * Checks if this SitemapFile is equal to another object.
         * @param obj the object to compare with
         * @return true if the objects are equal, false otherwise
         */
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
            }
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.4K bytes
    - Viewed (1)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilder.java

                        TypeMetaData type = property.getMetaData().getType();
                        if (type.getName().equals("java.util.List")
                                || type.getName().equals("java.util.Collection")
                                || type.getName().equals("java.util.Set")
                                || type.getName().equals("java.util.Iterable")) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.2K bytes
    - Viewed (0)
Back to top