Search Options

Results per page
Sort
Preferred Languages
Advance

Results 391 - 400 of 1,685 for Equalf (0.09 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileModelSourceTest.java

        /**
         * Test of equals method, of class FileModelSource.
         */
        @Test
        void testEquals() throws Exception {
            File tempFile = createTempFile("pomTest");
            FileModelSource instance = new FileModelSource(tempFile);
    
            assertFalse(instance.equals(null));
            assertFalse(instance.equals(new Object()));
            assertTrue(instance.equals(instance));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                                new Class[] {Session.class},
                                (Object proxy, Method method, Object[] args) -> {
                                    if ("getSystemProperties".equals(method.getName())) {
                                        return request.getSystemProperties().entrySet().stream()
                                                .collect(Collectors.toMap(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

            if (token != null) {
                final String[] values = token.trim().split(" ");
                if (values.length == 2 && BEARER.equals(values[0])) {
                    return values[1];
                }
                if (values.length == 1 && !BEARER.equals(values[0])) {
                    return values[0];
                }
                throw new InvalidAccessTokenException("invalid_request", "Invalid format: " + token);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/execution/ReactorManager.java

            if (failureBehavior == null) {
                this.failureBehavior = FAIL_FAST; // default
                return;
            }
            if (FAIL_FAST.equals(failureBehavior)
                    || FAIL_AT_END.equals(failureBehavior)
                    || FAIL_NEVER.equals(failureBehavior)) {
                this.failureBehavior = failureBehavior;
            } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. 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;
                }
                GavCacheKey that = (GavCacheKey) obj;
                return Objects.equals(this.gav, that.gav) && Objects.equals(this.tag, that.tag);
            }
    
            @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

        if (JAVA_IO_TMPDIR.value().equals("/sdcard")) {
          assertThrows(IOException.class, () -> out.write(data));
          return;
        }
        out.write(data);
        assertTrue(Arrays.equals(data, source.read()));
    
        out.close();
        assertThrows(IOException.class, () -> out.write(42));
    
        // Verify that write had no effect
        assertTrue(Arrays.equals(data, source.read()));
        out.reset();
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (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)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38K bytes
    - Viewed (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/TypeNameResolver.java

                }
                pos = metaDataRepository.get(candidateClassName);
            }
    
            String outerClassName = classMetaData.getOuterClassName();
            while (outerClassName != null) {
                if (name.equals(StringUtils.substringAfterLast(outerClassName, "."))) {
                    return outerClassName;
                }
                ClassMetaData outerClass = metaDataRepository.get(outerClassName);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * target} object, enforcing the specified time limit on each call. This time-limited delegation
       * is also performed for calls to {@link Object#equals}, {@link Object#hashCode}, and {@link
       * Object#toString}.
       *
       * <p>If the target method call finishes before the limit is reached, the return value or
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilter.java

            return hash;
        }
    
        @Override
        public boolean equals(Object obj) {
            if (this == obj) {
                return true;
            }
    
            if (!(obj instanceof AndArtifactFilter)) {
                return false;
            }
    
            AndArtifactFilter other = (AndArtifactFilter) obj;
    
            return filters.equals(other.filters);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top