- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for unchecked (0.03 sec)
-
src/main/java/org/codelibs/fess/suggest/exception/SuggestSettingsException.java
*/ package org.codelibs.fess.suggest.exception; /** * Exception thrown when there is an issue with the suggest settings. * This exception extends {@link RuntimeException}, so it is an unchecked exception. * * <p>There are three constructors available for this exception:</p> * <ul> * <li>{@link #SuggestSettingsException(String)}: Constructs a new exception with the specified detail message.</li>Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/settings/ElevateWordSettings.java
@SuppressWarnings("unchecked") final List<String> readings = (List<String>) sourceArray[i].get(ELEVATE_WORD_READING); @SuppressWarnings("unchecked") final List<String> fields = (List<String>) sourceArray[i].get(ELEVATE_WORD_FIELDS); @SuppressWarnings("unchecked")Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java
* * @param <T> The target type. * @param field The field value from OpenSearch. * @param clazz The target class. * @return The converted field value. */ @SuppressWarnings("unchecked") private <T> T getFieldValue(final Object field, final Class<T> clazz) { if (field == null) { return null; } if (clazz.equals(Integer.class)) {Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 10.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/SuggesterTest.java
assertEquals(1, response2.getNum()); assertEquals(1, response2.getTotal()); } @Test @SuppressWarnings("unchecked") public void test_indexFromDocument() throws Exception { SuggestSettings settings = suggester.settings(); String field = settings.array().get(SuggestSettings.DefaultKeys.SUPPORTED_FIELDS)[0];
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 37.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/impl/LogHelperImpl.java
// CrawlerContext crawlerContext = (CrawlerContext) objs[0]; final UrlQueue<?> urlQueue = (UrlQueue<?>) objs[1]; @SuppressWarnings("unchecked") final Set<RequestData> requestDataSet = (Set<RequestData>) objs[2]; if (logger.isDebugEnabled()) { for (final RequestData requestData : requestDataSet) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 14K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractor.java
try (FileOutputStream fos = new FileOutputStream(tempFile)) { CopyUtil.copy(in, fos); } lhaFile = new LhaFile(tempFile); @SuppressWarnings("unchecked") final Enumeration<LhaHeader> entries = lhaFile.entries(); long contentSize = 0; while (entries.hasMoreElements()) { final LhaHeader head = entries.nextElement();
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 5.8K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/exception/CrawlerSystemExceptionTest.java
assertTrue(exception instanceof Throwable); // Should not require try-catch (unchecked exception) throwUnchecked(); // This compiles without try-catch } private void throwUnchecked() { if (Math.random() > 1) { // Never true, but compiler doesn't know throw new CrawlerSystemException("Unchecked"); } } /** * Test suppressed exceptions */
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 20K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/client/AbstractCrawlerClient.java
* @param <T> The target type. * @param value The object to convert. * @param clazz The class type to convert to. * @return The converted object. */ @SuppressWarnings("unchecked") protected <T> T convertObj(final Object value, final Class<T> clazz) { if (clazz.isAssignableFrom(String.class)) { return (T) value.toString(); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Sep 06 04:15:37 UTC 2025 - 9.7K bytes - Viewed (10)