Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 328 for valide (0.03 seconds)

  1. src/main/java/org/codelibs/fess/app/web/admin/storage/AdminStorageAction.java

         * @param id the encoded ID to convert
         * @return PathInfo object with separated path and name
         */
        public static PathInfo convertToItem(final String id) {
            final String value = decodeId(id);
            final String[] values = split(value, "/").get(stream -> stream.filter(StringUtil::isNotEmpty).toArray(n -> new String[n]));
            if (values.length == 0) {
                // invalid?
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 13 02:21:17 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

                return;
            }
            for (final String value : values) {
                if (value.indexOf(',') >= 0) {
                    action.throwValidationError(messages -> {
                        messages.addErrorsInvalidStrIsIncluded(propertyName, value, ",");
                    }, hook);
                }
                if (value.indexOf("=>") >= 0) {
                    action.throwValidationError(messages -> {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 23.7K bytes
    - Click Count (1)
  3. src/test/java/org/codelibs/fess/ds/DataStoreFactoryTest.java

            assertEquals(2, names.length);
            assertEquals(2, loadCount[0]); // Should increment
        }
    
        // Test loadDataStoreNameList with valid XML
        @Test
        public void test_loadDataStoreNameList_validXml() throws Exception {
            // Create test JAR with valid XML
            final File jarFile = new File(tempDir, "test-datastore.jar");
            createTestJarWithXml(jarFile,
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticatorTest.java

            // Test setting different max group depths
            authenticator.setMaxGroupDepth(5);
            authenticator.setMaxGroupDepth(20);
            authenticator.setMaxGroupDepth(1);
    
            // Verify method accepts valid values without exception
            assertTrue(true);
        }
    
        @Test
        public void test_setGroupCacheExpiry() {
            EntraIdAuthenticator authenticator = new EntraIdAuthenticator();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/helper/IntervalControlHelperTest.java

                assertEquals("Invalid hour value: 24 in time: 24:00. Hour must be between 0 and 23", e.getMessage());
            }
    
            try {
                IntervalControlHelper.parseTime("12:60");
                fail("Should throw FessSystemException");
            } catch (FessSystemException e) {
                assertEquals("Invalid minute value: 60 in time: 12:60. Minute must be between 0 and 59", e.getMessage());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

        @Override
        public boolean isValid(final String value, final ConstraintValidatorContext context) {
            if (StringUtil.isNotBlank(value)) {
                return check(protocols, value);
            }
            return true;
        }
    
        /**
         * Checks if the given value matches any of the specified protocols.
         *
         * @param protocols the allowed protocols
         * @param value the URI string to validate
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Nov 23 12:34:02 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            } catch (IOException e) {
                throw UncheckedException.throwAsUncheckedException(e);
            }
        }
    
        /**
         * Automatically accept changes that are valid property upgrades of a getter or setter.
         *
         * Here we automatically accept the following cases:
         * - A setter `setX` of an upgraded property is removed
         * - A boolean `isX` of an upgraded property is removed
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/FessXpathTransformer.java

            }
            String value = content;
            int pos = value.indexOf("<!--");
            while (pos >= 0) {
                final int lastPos = value.indexOf("-->", pos);
                if (lastPos < 0) {
                    break;
                }
                if (pos == 0) {
                    value = " " + value.substring(lastPos + 3);
                } else {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 01:46:45 GMT 2026
    - 55.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/cache/CacheAction.java

         * @return ActionResponse containing the cached document content or error redirect
         */
        @Execute
        public ActionResponse index(final CacheForm form) {
            validate(form, messages -> {}, () -> asHtml(virtualHost(path_Error_ErrorJsp)));
            if (isLoginRequired()) {
                return redirectToLogin();
            }
    
            Map<String, Object> doc = null;
            try {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/role/AdminRoleAction.java

         */
        @Execute
        @Secured({ ROLE })
        public HtmlResponse create(final CreateForm form) {
            verifyCrudMode(form.crudMode, CrudMode.CREATE, this::asListHtml);
            validate(form, messages -> {}, this::asEditHtml);
            verifyToken(this::asEditHtml);
            getRole(form).ifPresent(entity -> {
                try {
                    roleService.store(entity);
    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)
Back to Top