Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for NumberFormatException (0.1 sec)

  1. src/main/java/jcifs/config/PropertyConfiguration.java

                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
            }
    
            value = props.getProperty("jcifs.smb.client.soTimeout");
            if (value != null) {
                try {
                    this.smbSocketTimeout = Integer.parseInt(value);
                } catch (NumberFormatException e) {
                    // Invalid value ignored
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

                    return props;
                }
            };
    
            try {
                customEnv.getTimeAdjustTimeMillisAsLong();
                fail("Should throw NumberFormatException");
            } catch (NumberFormatException e) {
                // Expected exception
                assertNotNull(e);
            }
        }
    
        // Test various numeric values for time adjust
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/mylasta/direction/FessConfigTest.java

                    if (value == null) {
                        return null;
                    }
                    try {
                        return Integer.valueOf(value);
                    } catch (NumberFormatException e) {
                        return null;
                    }
                }
    
                @Override
                public Long getAsLong(String propertyKey) {
                    String value = get(propertyKey);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 23.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/audit/SecurityAuditLogger.java

                    try {
                        long window = Long.parseLong(key.substring(lastUnderscore + 1));
                        return window < currentWindow - 2; // Keep current and previous window
                    } catch (NumberFormatException e) {
                        return true; // Remove invalid entries
                    }
                }
                return true;
            });
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

                // Should handle invalid formats gracefully
                // Check that only valid entries are added
                assertTrue(queryFieldConfig.additionalDefaultList.size() >= 0);
            } catch (NumberFormatException e) {
                // Expected for invalid float format
            }
        }
    
        public void test_init_withEmptyAndWhitespaceAnalyzedFields() {
            // Save original config
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

        }
    
        @Override
        public boolean isGuest() {
            return this.type == AuthenticationType.GUEST;
        }
    
        static String unescape(String str) throws NumberFormatException, UnsupportedEncodingException {
            char ch;
            int i, j, state, len;
            char[] out;
            byte[] b = new byte[1];
    
            if (str == null) {
                return null;
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

                    }
                    try {
                        searchRequestBuilder.setTrackTotalHitsUpTo(Integer.parseInt(trackTotalHits));
                        return;
                    } catch (final NumberFormatException e) {
                        // ignore
                    }
                }
                final Object trackTotalHitsValue = fessConfig.getQueryTrackTotalHitsValue();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (1)
Back to top