Search Options

Results per page
Sort
Preferred Languages
Advance

Results 691 - 700 of 1,770 for equal (0.04 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    Matcher m = EXPRESSION_NAME_PATTERN.matcher(repository.getUrl());
                    while (m.find()) {
                        if (!("basedir".equals(m.group(1))
                                || "project.basedir".equals(m.group(1))
                                || "project.baseUri".equals(m.group(1)))) {
                            validateStringNoExpression(
                                    prefix + prefix2 + "[" + repository.getId() + "].url",
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/base/PredicatesTest.java

        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          return obj instanceof IsOdd;
        }
    
        @Override
        public String toString() {
          return "IsOdd";
        }
      }
    
      /**
       * Generates a new Predicate per call.
       *
       * <p>Creating a new Predicate each time helps catch cases where code is using {@code x == y}
       * instead of {@code x.equals(y)}.
       */
      private static IsOdd isOdd() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  3. impl/maven-core/src/main/java/org/apache/maven/graph/ProjectSelector.java

            // [groupId]:artifactId
            if (selector.contains(":")) {
                String id = ':' + project.getArtifactId();
    
                if (id.equals(selector)) {
                    return true;
                }
    
                id = project.getGroupId() + id;
    
                return id.equals(selector);
            }
    
            // relative path, e.g. "sub", "../sub" or "."
            else if (reactorDirectory != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ImmutableClassToInstanceMap.java

       * Returns an immutable map containing the same entries as {@code map}. If {@code map} somehow
       * contains entries with duplicate keys (for example, if it is a {@code SortedMap} whose
       * comparator is not <i>consistent with equals</i>), the results of this method are undefined.
       *
       * <p><b>Note:</b> Despite what the method name suggests, if {@code map} is an {@code
       * ImmutableClassToInstanceMap}, no copy will actually be performed.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 10 21:56:03 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ForwardingNavigableMapTest.java

          standardPutAll(map);
        }
    
        @Override
        public @Nullable V remove(Object object) {
          return standardRemove(object);
        }
    
        @Override
        public boolean equals(@Nullable Object object) {
          return standardEquals(object);
        }
    
        @Override
        public int hashCode() {
          return standardHashCode();
        }
    
        @Override
        public Set<K> keySet() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 9.5K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/DefaultModelVersionProcessor.java

        private static final String REVISION_PROPERTY = "revision";
    
        @Override
        public boolean isValidProperty(String property) {
            return REVISION_PROPERTY.equals(property)
                    || CHANGELIST_PROPERTY.equals(property)
                    || SHA1_PROPERTY.equals(property);
        }
    
        @Override
        public void overwriteModelProperties(Properties modelProperties, ModelBuildingRequest request) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraphNode.java

                if (node2.metadata == null) {
                    return metadata == null;
                }
    
                return metadata != null && metadata.toString().equals(node2.metadata.toString());
            } else {
                return super.equals(obj);
            }
        }
    
        @Override
        public int hashCode() {
            if (metadata == null) {
                return super.hashCode();
            }
    
            return metadata.toString().hashCode();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/DefaultMirrorSelector.java

            } catch (MalformedURLException e) {
                // bad url just skip it here. It should have been validated already, but the wagon lookup will deal with it
                return false;
            }
        }
    
        private static boolean isLocal(String host) {
            return "localhost".equals(host) || "127.0.0.1".equals(host);
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/core/lang/ObjectUtilTest.java

         * {@link org.codelibs.core.lang.ObjectUtil#equals(java.lang.Object, java.lang.Object)}
         * .
         */
        @Test
        public void testEqualsObjectObject() {
            assertThat(ObjectUtil.equals(null, null), is(true));
            assertThat(ObjectUtil.equals(null, ""), is(false));
            assertThat(ObjectUtil.equals("", null), is(false));
            assertThat(ObjectUtil.equals("", ""), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. compat/maven-model/src/test/java/org/apache/maven/model/OrganizationTest.java

        }
    
        @Test
        void testEqualsNullSafe() {
            assertFalse(new Organization().equals(null));
    
            new Organization().equals(new Organization());
        }
    
        @Test
        void testEqualsIdentity() {
            Organization thing = new Organization();
            assertTrue(thing.equals(thing));
        }
    
        @Test
        void testToStringNullSafe() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top