Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 1,889 for instanceOf (0.16 sec)

  1. compat/maven-compat/src/test/java/org/apache/maven/project/AbstractMavenProjectTestCase.java

            try {
                return projectBuilder.build(pom, configuration).getProject();
            } catch (Exception e) {
                Throwable cause = e.getCause();
                if (cause instanceof ModelBuildingException modelBuildingException) {
                    StringBuilder message = new StringBuilder("In: " + pom + "\n\n");
                    for (ModelProblem problem : modelBuildingException.getProblems()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 20:01:00 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

            super.tearDown();
        }
    
        public void test_constructor() {
            // Test that constructor creates an instance
            ScriptExecutor executor = new ScriptExecutor();
            assertNotNull(executor);
            assertTrue(executor instanceof JobExecutor);
        }
    
        public void test_execute_withValidScriptType() {
            // Setup test script engine
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/SipHashFunction.java

      @Override
      public String toString() {
        return "Hashing.sipHash" + c + "" + d + "(" + k0 + ", " + k1 + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof SipHashFunction) {
          SipHashFunction other = (SipHashFunction) object;
          return (c == other.c) && (d == other.d) && (k0 == other.k0) && (k1 == other.k1);
        }
        return false;
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/CaseFormat.java

        }
    
        @Override
        protected String doBackward(String s) {
          return targetFormat.to(sourceFormat, s);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          if (obj instanceof StringConverter) {
            StringConverter that = (StringConverter) obj;
            return sourceFormat.equals(that.sourceFormat) && targetFormat.equals(that.targetFormat);
          }
          return false;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Apr 15 22:14:00 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Mar 14 21:57:42 UTC 2019
    - 6.5K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/jar/JarFileUtil.java

         */
        public static JarFile toJarFile(final URL jarUrl) {
            assertArgumentNotNull("jarUrl", jarUrl);
    
            final URLConnection con = URLUtil.openConnection(jarUrl);
            if (con instanceof JarURLConnection) {
                return JarURLConnectionUtil.getJarFile((JarURLConnection) con);
            }
            return create(new File(toJarFilePath(jarUrl)));
        }
    
        /**
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            // Verify that serialVersionUID is defined
            assertTrue(fessEnv instanceof java.io.Serializable);
    
            // Test that the SimpleImpl class can be instantiated
            FessEnv.SimpleImpl newInstance = new FessEnv.SimpleImpl();
            assertNotNull(newInstance);
    
            // Verify default values work for new instance
            assertEquals("warm", newInstance.getLastaDiSmartDeployMode());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#equals(java.lang.Object)
         */
        @Override
        public boolean equals(final Object obj) {
            if (!(obj instanceof final DfsReferralData other)) {
                return false;
            }
            return Objects.equals(getServer(), other.getServer()) && Objects.equals(getShare(), other.getShare())
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

                    System.arraycopy("BSRSPYL ".getBytes(), 0, data, index, 8);
                }
            } catch (final Exception ex) {
                log.error("Signature failed", ex);
            } finally {
                if (request instanceof SmbComNtCancel) {
                    this.signSequence++;
                } else {
                    this.signSequence += 2;
                }
            }
        }
    
        /**
         *
         * {@inheritDoc}
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.9K bytes
    - Viewed (0)
Back to top