- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 111 for isInvalid (0.04 sec)
-
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
case FILE -> ComponentUtil.getProtocolHelper().getFileProtocols(); default -> throw new ConstraintDefinitionException("protocolType is empty or invalid: " + uriType.protocolType()); }; } @Override public boolean isValid(final String value, final ConstraintValidatorContext context) { if (StringUtil.isNotBlank(value)) { return check(protocols, value); }
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Sun Nov 23 12:34:02 UTC 2025 - 3.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/SitemapsHelper.java
* @param in the input stream to validate * @return true if the stream contains valid sitemap data, false otherwise */ public boolean isValid(final InputStream in) { return isValid(in, true); } /** * Checks if the given input stream contains valid sitemap data. * @param in the input stream to validateRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 13:19:40 UTC 2025 - 34.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerThreadTest.java
final java.lang.reflect.Method method = CrawlerThread.class.getDeclaredMethod("isValid", UrlQueue.class); method.setAccessible(true); final boolean result = (boolean) method.invoke(crawlerThread, urlQueue); assertTrue(result); } /** * Test isValid method with a null URL queue. */ public void test_isValid_nullUrlQueue() throws Exception {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 18.3K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ExtractorResourceManagementTest.java
// for invalid data, which is also acceptable assertNotNull("Exception message should not be null", e.getMessage()); } } /** * Test that MsExcelExtractor throws appropriate exception for invalid data. * POI may throw various exceptions depending on the type of invalid data. */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 10.4K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java
// Test GoodBot - should parse valid directives and ignore invalid ones assertNotNull(robotsTxt.getDirective("goodbot")); assertFalse(robotsTxt.allows("/admin/", "GoodBot")); assertTrue(robotsTxt.allows("/public/", "GoodBot")); // Invalid directives should not cause parsing to fail // Test crawl-delay with invalid values // Invalid number should be ignored, valid ones should workRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 20.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/normalizer/ICUNormalizerTest.java
} } public void test_invalidTransliteratorId() { try { new ICUNormalizer("Invalid-Transliterator-ID-12345"); fail("Expected IllegalArgumentException"); } catch (IllegalArgumentException e) { assertTrue(e.getMessage().contains("Invalid transliterator ID")); } }Registered: Sat Dec 20 13:04:59 UTC 2025 - Last Modified: Mon Nov 17 14:23:01 UTC 2025 - 2.2K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/SitemapsHelperTest.java
assertTrue(sitemapsHelper.isValidChangefreq(null)); assertTrue(sitemapsHelper.isValidChangefreq("")); // Invalid changefreq assertFalse(sitemapsHelper.isValidChangefreq("sometimes")); assertFalse(sitemapsHelper.isValidChangefreq("invalid")); // Valid date format assertTrue(sitemapsHelper.isValidDateFormat("2025-01-01"));
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Mon Nov 24 03:59:47 UTC 2025 - 36.7K bytes - Viewed (0) -
guava/src/com/google/common/net/MediaType.java
* * @throws IllegalArgumentException if subtype is invalid */ static MediaType createApplicationType(String subtype) { return create(APPLICATION_TYPE, subtype); } /** * Creates a media type with the "audio" type and the given subtype. * * @throws IllegalArgumentException if subtype is invalid */ static MediaType createAudioType(String subtype) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Oct 02 01:46:40 UTC 2025 - 48K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
} /** * Gets the pattern for matching invalid URLs. * * @return the invalid URL pattern */ public Pattern getInvalidUrlPattern() { return invalidUrlPattern; } /** * Sets the pattern for matching invalid URLs. * * @param invalidUrlPattern the invalid URL pattern to set */Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Sat Nov 29 07:42:33 UTC 2025 - 30.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java
* It will parse valid directives and ignore invalid ones, ensuring that partial * content can be extracted even from poorly formatted files.</p> * * <p>The following errors are handled gracefully (line is skipped, parsing continues):</p> * <ul> * <li>Invalid directive formats</li> * <li>Unknown directives</li> * <li>Invalid crawl-delay values (non-numeric, negative)</li>Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Fri Nov 14 12:52:01 UTC 2025 - 11.4K bytes - Viewed (0)