Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 1,868 for instanceOf (0.06 sec)

  1. src/test/java/org/codelibs/curl/CurlExceptionTest.java

            CurlException exception = new CurlException(message);
    
            assertEquals(message, exception.getMessage());
            assertNull(exception.getCause());
            assertTrue(exception instanceof RuntimeException);
        }
    
        @Test
        public void testConstructorWithMessageAndCause() {
            String message = "Test error message";
            IOException cause = new IOException("IO error");
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                }
                if (value instanceof String || value == null) {
                    return new Pair<>(key, value);
                }
                if (arrayFieldSet.contains(key)) {
                    if (value instanceof String[]) {
                        value = stream((String[]) value).get(stream -> stream.collect(Collectors.joining("\n")));
                    } else if (value instanceof List) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/LogStreamTest.java

            // Test getInstance when no instance has been set
            // Should default to System.err
            LogStream instance = LogStream.getInstance();
            assertNotNull(instance);
    
            // Getting instance again should return the same instance
            LogStream instance2 = LogStream.getInstance();
            assertSame(instance, instance2);
        }
    
        @Test
        void testSetInstanceAndGetInstance() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/io/AppendableWriter.java

      }
    
      @Override
      public void flush() throws IOException {
        checkNotClosed();
        if (target instanceof Flushable) {
          ((Flushable) target).flush();
        }
      }
    
      @Override
      public void close() throws IOException {
        this.closed = true;
        if (target instanceof Closeable) {
          ((Closeable) target).close();
        }
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            assertNull(ex.getMessage(), "Default message should be null");
            assertNull(ex.getCause(), "Default cause should be null");
            assertTrue(ex instanceof CIFSException, "Should be a CIFSException");
            assertTrue(ex instanceof IOException, "Should be an IOException");
        }
    
        @Test
        @DisplayName("Should create SpnegoException with message")
        void testWithMessage() {
            // Given
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/user/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)
  7. src/test/java/org/codelibs/fess/exception/ContainerNotAvailableExceptionTest.java

        public void test_instanceOfFessSystemException() {
            // Test that ContainerNotAvailableException is an instance of FessSystemException
            ContainerNotAvailableException exception = new ContainerNotAvailableException("test");
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
        public void test_serialVersionUID() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

            try (SmbSessionImpl session = this.treeConnection.getSession(); SmbTransportImpl transport = session.getTransport()) {
                final SmbNegotiationResponse nego = transport.getNegotiateResponse();
                if (nego instanceof SmbComNegotiateResponse) {
                    return ((SmbComNegotiateResponse) nego).getServerData().serverTimeZone * 1000 * 60L;
                }
                return 0;
            }
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

        /**
         * Creates a new empty DataStoreParams instance.
         * Initializes the internal parameter map with a ParamMap wrapper.
         */
        public DataStoreParams() {
            params = new ParamMap<>(new HashMap<>());
        }
    
        /**
         * Creates a new DataStoreParams instance with a copy of the provided parameters.
         * This protected constructor is used for creating new instances from existing parameter maps.
         *
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableEnumSet.java

      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        return delegate.contains(object);
      }
    
      @Override
      public boolean containsAll(Collection<?> collection) {
        if (collection instanceof ImmutableEnumSet<?>) {
          collection = ((ImmutableEnumSet<?>) collection).delegate;
        }
        return delegate.containsAll(collection);
      }
    
      @Override
      public boolean isEmpty() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top