Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 1,191 for rreturn (0.03 seconds)

  1. src/main/java/org/codelibs/fess/util/InputStreamThread.java

         *
         * @param value the value to search for in the buffered lines
         * @return true if a matching line is found, false otherwise
         */
        public boolean contains(final String value) {
            for (final String line : list) {
                if (line.trim().equals(value)) {
                    return true;
                }
            }
            return false;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java

        }
    
        // Test append returns the same buffer instance
        @Test
        public void test_append_returnsSameBuffer() {
            StringBuilder buf = new StringBuilder();
            Supplier<Object> supplier = () -> "test";
    
            StringBuilder result = monitorTarget.append(buf, "key", supplier);
            assertSame(buf, result);
        }
    
        // Test appendTimestamp returns the same buffer instance
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.3K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/opensearch/common/ImplementedInvokerAssistantTest.java

        private boolean containsValue(String[] array, String value) {
            for (String element : array) {
                if (element.equals(value)) {
                    return true;
                }
            }
            return false;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/exception/UserRoleLoginExceptionTest.java

        }
    
        @Test
        public void test_getMessage() {
            // Test that getMessage returns null (no message set in constructor)
            UserRoleLoginException exception = new UserRoleLoginException(RootAction.class);
            assertNull(exception.getMessage());
        }
    
        @Test
        public void test_getCause() {
            // Test that getCause returns null (no cause set in constructor)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

                    // Override to return empty string instead of null to avoid NullPointerException
                    return "";
                }
    
                @Override
                public String getIndexFieldTitle() {
                    return "title";
                }
    
                @Override
                public String getIndexFieldContent() {
                    return "content";
                }
    
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/dict/kuromoji/KuromojiFile.java

                throw new DictionaryException("Failed to parse " + path, e);
            }
        }
    
        /**
         * Returns the simple name of the file.
         *
         * @return The simple name of the file.
         */
        public String getSimpleName() {
            return new File(path).getName();
        }
    
        /**
         * Updates the dictionary file with the given input stream.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Nov 20 07:09:00 GMT 2025
    - 11.7K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/exec/Crawler.java

             *
             * @return list of web configuration IDs, or null if none specified
             */
            protected List<String> getWebConfigIdList() {
                if (StringUtil.isNotBlank(webConfigIds)) {
                    final String[] values = webConfigIds.split(",");
                    return createConfigIdList(values);
                }
                return null;
            }
    
            /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 32.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/api/admin/elevateword/ApiAdminElevatewordAction.java

                }
                return entity;
            }).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, body.id));
                return null;
            });
    
            return asJson(new ApiUpdateResponse().id(elevateWord.getId()).created(false).status(Status.OK).result());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/service/DataConfigService.java

         *
         * @param id the unique identifier of the data configuration
         * @return an OptionalEntity containing the DataConfig if found, empty otherwise
         * @throws IllegalArgumentException if id is null or empty
         */
        public OptionalEntity<DataConfig> getDataConfig(final String id) {
            return dataConfigBhv.selectByPK(id);
        }
    
        /**
         * Retrieves a data configuration by its name.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 8K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

                if (tempDir != null) {
                    return new File(tempDir, path).getAbsolutePath();
                }
                return new File("/test/webapp", path).getAbsolutePath();
            }
    
            // Other methods return null or default values
            @Override
            public Object getAttribute(String name) {
                return null;
            }
    
            @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 19K bytes
    - Click Count (0)
Back to Top