Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 91 for handled (1.28 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ArchiveExtractorErrorHandlingTest.java

            assertNotNull(result);
            // Content might be empty or contain minimal text depending on processing
            assertNotNull(result.getContent());
        }
    
        /**
         * Test that empty ZIP archive is handled gracefully.
         */
        public void test_ZipExtractor_emptyArchive_handlesGracefully() throws IOException {
            final ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/interval/impl/HostIntervalControllerTest.java

            final long elapsed = (System.nanoTime() - start) / 1000000;
    
            assertTrue("file:// URLs should not be delayed", elapsed < 50);
        }
    
        /**
         * Test that null URL queue is handled gracefully
         */
        public void test_nullUrlQueue() {
            final HostIntervalController controller = new HostIntervalController();
            controller.delayMillisBeforeProcessing = 1000L;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/gcs/HandlerTest.java

            URL url = new URL("gcs://mybucket/path/file%20with%20spaces.txt");
            Handler handler = new Handler();
            URLConnection conn = handler.openConnection(url);
    
            Handler.GcsURLConnection gcsConn = (Handler.GcsURLConnection) conn;
    
            assertEquals("mybucket", getField(gcsConn, "bucketName"));
            // URL decoding is handled by URL class
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/script/groovy/GroovyEngine.java

                return groovyShell.evaluate(template);
            } catch (final JobProcessingException e) {
                // Rethrow JobProcessingException to allow scripts to signal job-specific errors
                // that should be handled by the job framework
                if (logger.isDebugEnabled()) {
                    logger.debug("Script raised JobProcessingException", e);
                }
                throw e;
            } catch (final Exception e) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

    public class RelatedContentHelper extends AbstractConfigHelper {
    
        /**
         * Default constructor for RelatedContentHelper.
         * The constructor does not perform any initialization logic as the actual
         * initialization is handled by the {@link #init()} method annotated with
         * {@code @PostConstruct}.
         */
        public RelatedContentHelper() {
            super();
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

            }
        }
    
        /**
         * Test that try-with-resources handles null InputStream correctly.
         * Verifies that null InputStream doesn't cause NullPointerException during close.
         */
        @Test
        public void testTryWithResources_nullInputStreamSafety() {
            // This test demonstrates that try-with-resources handles null safely
            try (InputStream is = null) {
                if (is == null) {
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

            URL url = new URL("storage://mybucket/path/file%20with%20spaces.txt");
            Handler handler = new Handler();
            URLConnection conn = handler.openConnection(url);
    
            Handler.StorageURLConnection storageConn = (Handler.StorageURLConnection) conn;
    
            assertEquals("mybucket", getField(storageConn, "bucketName"));
            // URL decoding is handled by URL class
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  8. fess-crawler/src/test/java/org/codelibs/fess/crawler/helper/RobotsTxtHelperTest.java

            assertFalse(robotsTxt.allows("http://example.com:8080/path", "MultiColonBot"));
            assertTrue(robotsTxt.allows("/path:with:colons", "MultiColonBot"));
    
            // Test ExtraSpaceBot - extra whitespace should be handled
            assertFalse(robotsTxt.allows("/spaced/", "ExtraSpaceBot"));
            assertTrue(robotsTxt.allows("/also-spaced/", "ExtraSpaceBot"));
    
            // Test MixedCaseBot - mixed case directives should work
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  9. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java

     *
     * <p>
     * The {@link GcsURLConnection} class handles the actual connection and data retrieval from the storage service.
     * </p>
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * Constructs a new Handler.
         */
        public Handler() {
            // Default constructor
        }
    
        /**
         * Opens a connection to the GCS URL.
         *
         * @param u The URL to open a connection to
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java

     * </ul>
     *
     * <p>
     * The {@link S3URLConnection} class handles the actual connection and data retrieval from the S3 service.
     * </p>
     */
    public class Handler extends URLStreamHandler {
    
        /**
         * Constructs a new Handler.
         */
        public Handler() {
            // Default constructor
        }
    
        /**
         * Opens a connection to the S3 URL.
         *
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 07:57:44 UTC 2025
    - 9.5K bytes
    - Viewed (0)
Back to top