Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 669 for treats (0.04 seconds)

  1. src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java

                } catch (Exception e) {
                    exceptions[1] = e;
                }
            });
    
            // Start both threads
            threads[0].start();
            threads[1].start();
    
            // Wait for completion
            threads[0].join();
            threads[1].join();
    
            // Verify no exceptions occurred (the main goal is no ConcurrentModificationException)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 19.7K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

         *
         * @return array of character codes to be treated as spaces
         */
        protected int[] getSpaceChars() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
            return fessConfig.getCrawlerDocumentSpaceCharsAsArray();
        }
    
        /**
         * Creates a digest (abbreviated summary) of document content.
         * Truncates and normalizes content to create a summary suitable for display.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImpl.java

            maxRedirectCount = fessConfig.getIndexerDataMaxRedirectCountAsInteger();
        }
    
        /**
         * Creates a new fixed thread pool executor with the specified number of threads.
         *
         * @param nThreads the number of threads in the pool
         * @return a new ThreadPoolExecutor configured for this callback
         */
        protected ExecutorService newFixedThreadPool(final int nThreads) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 29.7K bytes
    - Click Count (3)
  4. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            super.setUp(testInfo);
    
            // Create a temporary test file
            testFile = File.createTempFile("test_stopwords", ".txt");
            testFile.deleteOnExit();
    
            // Write test data to file
            try (FileOutputStream fos = new FileOutputStream(testFile)) {
                fos.write(getTestContent().getBytes(StandardCharsets.UTF_8));
            }
    
            // Create a temporary project.properties file for SystemHelper
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

                        exceptions[index] = e;
                    }
                });
            }
    
            // Start all threads
            for (Thread thread : threads) {
                thread.start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join();
            }
    
            // Check all providers were created successfully
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessCurtainFinallyHookTest.java

                    }
                });
            }
    
            // Start all threads
            for (Thread thread : threads) {
                thread.start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                thread.join(5000); // 5 second timeout
            }
    
            // Verify no errors occurred during concurrent execution
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

                });
                threads[i].start();
            }
    
            // Wait for all threads to complete
            for (Thread thread : threads) {
                try {
                    thread.join();
                } catch (InterruptedException e) {
                    fail("Thread interrupted: " + e.getMessage());
                }
            }
    
            // Verify all threads got the same instances
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

        /**
         * Creates a new role item.
         *
         * @param form the create form containing the new item data
         * @return HTML response redirecting to the list page after creation
         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE, this::asListHtml);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 13:56:35 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/dict/DictionaryCreator.java

        protected DictionaryManager dictionaryManager;
    
        /**
         * Creates a new DictionaryCreator with the specified pattern.
         *
         * @param pattern the regular expression pattern to match file paths
         */
        protected DictionaryCreator(final String pattern) {
            this.pattern = Pattern.compile(pattern);
        }
    
        /**
         * Creates a dictionary file for the given path and timestamp if it matches this creator's pattern.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java

        @Override
        protected void tearDown(TestInfo testInfo) throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown(testInfo);
        }
    
        /**
         * Test that setting search fields creates both array and Set.
         */
        @Test
        public void test_setSearchFields_createsSet() {
            String[] fields = { "field1", "field2", "field3" };
            queryFieldConfig.setSearchFields(fields);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19.4K bytes
    - Click Count (0)
Back to Top