Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 43 for nosuffix (0.09 seconds)

  1. src/main/java/org/codelibs/fess/job/ExecJob.java

        }
    
        /**
         * Sets the log suffix for this job execution.
         * The suffix is trimmed and whitespace is replaced with underscores.
         *
         * @param logSuffix the suffix to append to log file names
         * @return this ExecJob instance for method chaining
         */
        public ExecJob logSuffix(final String logSuffix) {
            this.logSuffix = logSuffix.trim().replaceAll("\\s", "_");
            return this;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/job/ExecJobTest.java

        }
    
        // Test logSuffix setter
        @Test
        public void test_logSuffix() {
            String testSuffix = "test suffix";
            ExecJob result = execJob.logSuffix(testSuffix);
            assertEquals("test_suffix", execJob.logSuffix);
            assertSame(execJob, result);
    
            // Test with leading/trailing spaces
            result = execJob.logSuffix("  another suffix  ");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java

        }
    
        // Test constructor initialization
        @Test
        public void test_constructor() {
            // Verify suffix is set correctly
            assertEquals(PagerCreator.SUFFIX, "Pager");
    
            // Verify name suffix is set
            assertEquals("Pager", pagerCreator.getNameSuffix());
    
            // Verify instance def is SESSION
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.7K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            assertNull(result);
        }
    
        @Test
        public void test_smartSummary_exactlyAtBudget() {
            // omitMarker = "\n...[omitted]...\n" (18 chars), suffix="" (no sources), bodyBudget = 500 - 0 - 18 = 482
            // Content of 482 chars is <= bodyBudget, so returned with suffix (empty) appended as-is
            final String content = "X".repeat(482);
            final ChatMessage msg = ChatMessage.assistantMessage(content);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/helper/ProtocolHelper.java

        private static final Logger logger = LogManager.getLogger(ProtocolHelper.class);
    
        /** Array of supported web protocols with colon suffix (e.g., "http:", "https:") */
        protected String[] webProtocols = StringUtil.EMPTY_STRINGS;
    
        /** Array of supported file protocols with colon suffix (e.g., "file:", "ftp:") */
        protected String[] fileProtocols = StringUtil.EMPTY_STRINGS;
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 13:59:25 GMT 2026
    - 12.4K bytes
    - Click Count (1)
  6. src/test/java/org/codelibs/fess/exec/ThumbnailGeneratorTest.java

                SystemHelper mockSystemHelper = new SystemHelper() {
                    @Override
                    public File createTempFile(String prefix, String suffix) {
                        try {
                            return File.createTempFile(prefix, suffix);
                        } catch (Exception e) {
                            throw new RuntimeException(e);
                        }
                    }
                };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/ViewHelperTest.java

            fragment = new ViewHelper.TextFragment("prefix", "start", "end", "suffix");
            urlString = fragment.toURLString();
            assertTrue(urlString.contains("prefix"));
            assertTrue(urlString.contains("start"));
            assertTrue(urlString.contains("end"));
            assertTrue(urlString.contains("suffix"));
        }
    
        @Test
        public void test_ActionHook() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

                    super.parseProjectProperties(propFile.toPath());
                }
    
                @Override
                public File createTempFile(String prefix, String suffix) {
                    try {
                        File tempFile = File.createTempFile(prefix, suffix);
                        tempFile.deleteOnExit();
                        return tempFile;
                    } catch (IOException e) {
                        throw new RuntimeException(e);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/helper/SystemHelper.java

         *
         * @param prefix The prefix for the file name.
         * @param suffix The suffix for the file name.
         * @return The created temporary file.
         * @throws IORuntimeException if the file cannot be created.
         */
        public File createTempFile(final String prefix, final String suffix) {
            try {
                final File file = File.createTempFile(prefix, suffix);
                file.setReadable(false, false);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 06:59:19 GMT 2026
    - 43.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

                    return "test-host";
                }
    
                @Override
                public File createTempFile(String prefix, String suffix) {
                    try {
                        return File.createTempFile(prefix, suffix);
                    } catch (Exception e) {
                        throw new RuntimeException(e);
                    }
                }
            };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
Back to Top