Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,905 for instanceof (0.17 sec)

  1. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractBehavior.java

                BUILDER builder = call.apply(esEntity);
                if (builder instanceof IndexRequestBuilder) {
                    if (builderEntityCall != null) {
                        builderEntityCall.callback(builder);
                    }
                    bulkBuilder.add((IndexRequestBuilder) builder);
                } else if (builder instanceof UpdateRequestBuilder) {
                    if (builderEntityCall != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jun 21 04:02:44 UTC 2025
    - 26.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/UniAddress.java

         */
        @Override
        public boolean equals(final Object obj) {
            return obj instanceof UniAddress && addr.equals(((UniAddress) obj).addr);
        }
        /*
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.hashCode() == obj.hashCode();
        }
        */
    
        /**
         * Guess first called name to try for session establishment. This
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Platform.java

        checkNotNull(t); // to satisfy NullPointerTester
        if (t instanceof InterruptedException) {
          currentThread().interrupt();
        }
      }
    
      static void interruptCurrentThread() {
        Thread.currentThread().interrupt();
      }
    
      static void rethrowIfErrorOtherThanStackOverflow(Throwable t) {
        checkNotNull(t);
        if (t instanceof Error && !(t instanceof StackOverflowError)) {
          throw (Error) t;
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/SsoMessageExceptionTest.java

            // Execute
            final SsoMessageException exception = new SsoMessageException(messageCode, message);
    
            // Verify that it's an instance of FessSystemException
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        public void test_stackTracePresence() {
            // Setup
            final String message = "Test stack trace";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/https/HandlerTest.java

            }
    
            @Test
            @DisplayName("Should extend jcifs.http.Handler")
            void testInheritance() {
                // Then
                assertTrue(handler instanceof jcifs.http.Handler);
                assertTrue(handler instanceof URLStreamHandler);
            }
        }
    
        @Nested
        @DisplayName("Default Port Tests")
        class DefaultPortTests {
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/deployer/DefaultArtifactDeployer.java

                if (metadata instanceof ProjectArtifactMetadata projectArtifactMetadata) {
                    org.eclipse.aether.artifact.Artifact pomArtifact = new SubArtifact(mainArtifact, "", "pom");
                    pomArtifact = pomArtifact.setFile(projectArtifactMetadata.getFile());
                    request.addArtifact(pomArtifact);
                } else if (metadata instanceof SnapshotArtifactRepositoryMetadata
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/RuntimeCIFSExceptionTest.java

            // When
            RuntimeCIFSException exception = new RuntimeCIFSException("Test");
    
            // Then
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        @DisplayName("Should support exception chaining")
        void testExceptionChaining() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

                throws IOException {
            if (request instanceof jcifs.internal.Request) {
                if (response == null) {
                    response = (T) ((jcifs.internal.Request<?>) request).initResponse(getContext());
                } else if (isSMB2()) {
                    throw new IOException("Should not provide response argument for SMB2");
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 69.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/EmptyIteratorTest.java

                    assertFalse(iterator2.hasNext(), "Second instance should have no elements");
                    assertFalse(iterator3.hasNext(), "Third instance should have no elements");
    
                    assertNull(iterator1.next(), "First instance next() should return null");
                    assertNull(iterator2.next(), "Second instance next() should return null");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ListsTest.java

            partitions instanceof RandomAccess);
    
        assertTrue(
            "partition[0] should be RandomAccess, but not: " + partitions.get(0).getClass(),
            partitions.get(0) instanceof RandomAccess);
    
        assertTrue(
            "partition[1] should be RandomAccess, but not: " + partitions.get(1).getClass(),
            partitions.get(1) instanceof RandomAccess);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
Back to top