Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,060 for instanceOf (0.05 sec)

  1. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

            assertNotNull(result1);
            assertNotNull(result2);
    
            // Both results should be of the same type
            assertTrue(result1 instanceof MatchAllQueryBuilder);
            assertTrue(result2 instanceof MatchAllQueryBuilder);
    
            // Both should generate the same JSON
            String json1 = result1.toString().replaceAll("[\\s\\n]", "");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/util/RenderDataUtil.java

                return;
            }
    
            if (value instanceof Entity) {
                data.register(key, BeanUtil.copyBeanToNewMap(value));
            } else {
                if (value instanceof final Collection<?> coll && !coll.isEmpty()) {
                    // care performance for List that the most frequent pattern
                    final Object first = coll instanceof List<?> ? ((List<?>) coll).get(0) : coll.iterator().next();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/ntlmssp/av/AvPairsTest.java

            assertTrue(pairs.get(0) instanceof AvFlags, "First pair should be AvFlags instance");
    
            // Check second pair (AvTimestamp)
            assertEquals(AvPair.MsvAvTimestamp, pairs.get(1).getType(), "Second pair should be MsvAvTimestamp");
            assertTrue(pairs.get(1) instanceof AvTimestamp, "Second pair should be AvTimestamp instance");
    
            // Check third pair (AvTargetName)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
            } else if (o instanceof String) {
                return toShort((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                TransportException exception = new TransportException("Test");
    
                // Verify the exception hierarchy
                assertTrue(exception instanceof IOException);
                assertTrue(exception instanceof Exception);
                assertTrue(exception instanceof Throwable);
            }
    
            @Test
            @DisplayName("Should preserve message through exception chain")
            void testMessagePreservation() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/timer/MonitorTarget.java

                if (value == null) {
                    tempBuf.append("null");
                } else if (value instanceof Integer || value instanceof Long) {
                    tempBuf.append(value);
                } else if (value instanceof Short) {
                    tempBuf.append(((Short) value).shortValue());
                } else if (value instanceof double[]) {
                    tempBuf.append(Arrays.toString((double[]) value));
                } else {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/exception/SsoProcessExceptionTest.java

            SsoProcessException ssoException = new SsoProcessException("Test SSO error");
    
            assertTrue(ssoException instanceof FessSystemException);
            assertTrue(ssoException instanceof RuntimeException);
            assertTrue(ssoException instanceof Exception);
            assertTrue(ssoException instanceof Throwable);
        }
    
        public void test_constructor_withVariousExceptionTypes() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/exception/SearchQueryExceptionTest.java

            assertTrue(exception instanceof SearchQueryException);
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
            assertTrue(exception instanceof Exception);
            assertTrue(exception instanceof Throwable);
        }
    
        public void test_multipleInstantiations() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/reflect/TypeResolver.java

        checkNotNull(type);
        if (type instanceof TypeVariable) {
          return typeTable.resolve((TypeVariable<?>) type);
        } else if (type instanceof ParameterizedType) {
          return resolveParameterizedType((ParameterizedType) type);
        } else if (type instanceof GenericArrayType) {
          return resolveGenericArrayType((GenericArrayType) type);
        } else if (type instanceof WildcardType) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

            // Verify that ContentNotFoundException is an instance of FessSystemException
            String parentUrl = "http://example.com/parent";
            String url = "http://example.com/child";
            ContentNotFoundException exception = new ContentNotFoundException(parentUrl, url);
    
            assertTrue(exception instanceof FessSystemException);
            assertTrue(exception instanceof RuntimeException);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top