Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 1,782 for instanceOf (0.11 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

        Iterator<E> iterator = collection.iterator();
        Object element = iterator.next();
        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
        assertTrue(collection.contains(element)); // sanity check
        iterator.remove();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/CustomCipherSuites.java

            TrustManagerFactory.getDefaultAlgorithm());
        trustManagerFactory.init((KeyStore) null);
        TrustManager[] trustManagers = trustManagerFactory.getTrustManagers();
        if (trustManagers.length != 1 || !(trustManagers[0] instanceof X509TrustManager)) {
          throw new IllegalStateException("Unexpected default trust managers:"
              + Arrays.toString(trustManagers));
        }
        return (X509TrustManager) trustManagers[0];
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/SitemapUrl.java

        }
    
        public void setPriority(final String priority) {
            this.priority = priority;
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (!(obj instanceof final SitemapUrl sitemapUrl)) {
                return false;
            }
            if (StringUtil.equals(loc, sitemapUrl.loc) && StringUtil.equals(changefreq, sitemapUrl.changefreq)
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/timer/TimeoutManager.java

            try {
                executorService.execute(() -> {
                    try {
                        task.expired();
                    } catch (final Exception e) {
                        if (e instanceof InterruptedException) {
                            if (logger.isDebugEnabled()) {
                                logger.debug("Interrupted.", e);
                            }
                        } else {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

        checkNotNull(throwable);
        if (throwable instanceof RuntimeException) {
          throw (RuntimeException) throwable;
        }
        if (throwable instanceof Error) {
          throw (Error) throwable;
        }
      }
    
      /**
       * Propagates {@code throwable} exactly as-is, if and only if it is an instance of {@link
       * RuntimeException} or {@link Error}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/KerberosTest.java

            }
            catch ( SmbUnsupportedOperationException e ) {
                Assume.assumeTrue("Using short names", false);
            }
            catch ( SmbException e ) {
                if ( ! ( e.getCause() instanceof GSSException ) ) {
                    throw e;
                }
                log.error("Kerberos problem", e);
                Assume.assumeTrue("Kerberos problem, clockskew?", false);
            }
        }
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 01 09:46:04 UTC 2020
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/webauth/AdminWebauthAction.java

                    entity.setCreatedBy(username);
                    entity.setCreatedTime(currentTime);
                    return entity;
                });
            case CrudMode.EDIT:
                if (form instanceof EditForm) {
                    return ComponentUtil.getComponent(WebAuthenticationService.class).getWebAuthentication(((EditForm) form).id);
                }
                break;
            default:
                break;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CloserTest.java

          this.closeable = closeable;
          this.thrown = thrown;
          this.suppressed = suppressed;
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof Suppression) {
            Suppression other = (Suppression) obj;
            return closeable.equals(other.closeable)
                && thrown.equals(other.thrown)
                && suppressed.equals(other.suppressed);
          }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/sso/oic/OpenIdConnectAuthenticator.java

                return null;
            }
            try {
                return BASE64_DECODER.decode(base64String);
            } catch (IllegalArgumentException e) {
                if (e.getCause() instanceof DecodingException) {
                    return BASE64URL_DECODER.decode(base64String.trim());
                }
                throw e;
            }
        }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/JapicmpTask.java

                } catch (URISyntaxException e) {
                    // silent
                }
            }
        }
    
        private List<JApiCmpWorkerAction.Archive> inferArchives(FileCollection fc) {
            if (fc instanceof Configuration) {
                final List<JApiCmpWorkerAction.Archive> archives = new ArrayList<>();
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 13.3K bytes
    - Viewed (0)
Back to top