Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 346 for validate (0.16 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            SimpleProblemCollector result = validate("missing-artifactId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
            assertEquals("'artifactId' is missing.", result.getErrors().get(0));
        }
    
        @Test
        void testMissingGroupId() throws Exception {
            SimpleProblemCollector result = validate("missing-groupId-pom.xml");
    
            assertViolations(result, 0, 1, 0);
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  2. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates a string is not null or empty
         *
         * @param value the string to validate
         * @param fieldName the field name for error reporting
         * @return the validated string
         * @throws IllegalArgumentException if string is null or empty
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/util/ServerResponseValidator.java

        private final AtomicLong bufferOverflowsPrevented = new AtomicLong(0);
        private final AtomicLong integerOverflowsPrevented = new AtomicLong(0);
    
        /**
         * Validate SMB response buffer bounds
         *
         * @param buffer the buffer to validate
         * @param expectedSize expected minimum size
         * @param maxSize maximum allowed size
         * @throws SmbException if validation fails
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/PathValidator.java

            this.strictMode = strictMode;
            this.blacklistedPaths = new HashSet<>();
            this.whitelistedPaths = new HashSet<>();
        }
    
        /**
         * Validate and normalize a path
         *
         * @param path the path to validate
         * @return normalized safe path
         * @throws SmbException if path is invalid or dangerous
         */
        public String validatePath(String path) throws SmbException {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/app/web/admin/dict/protwords/AdminDictProtwordsAction.java

         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            protwordsPager.clear();
            return asHtml(path_AdminDictProtwords_AdminDictProtwordsJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.1K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/WebApiUtilTest.java

                // validate()
                Method validateMethod = WebApiUtil.class.getMethod("validate");
                assertTrue("validate should be static", java.lang.reflect.Modifier.isStatic(validateMethod.getModifiers()));
                assertTrue("validate should be public", java.lang.reflect.Modifier.isPublic(validateMethod.getModifiers()));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

         * @param form The search form.
         * @return The HTML response.
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            kuromojiPager.clear();
            return asHtml(path_AdminDictKuromoji_AdminDictKuromojiJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/app/web/admin/design/AdminDesignAction.java

            if (StringUtil.isBlank(path)) {
                return true;
            }
            // Path must match one of the configured virtual host paths
            for (final String validPath : ComponentUtil.getVirtualHostHelper().getVirtualHostPaths()) {
                if (path.equals(validPath)) {
                    return true;
                }
            }
            // Also allow "/" as a valid path (used in loadJspFileNameItems for blank keys)
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Jan 23 23:57:26 GMT 2026
    - 20.1K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/synonym/AdminDictSynonymAction.java

         * @return HTML response for the synonym dictionary index page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            synonymPager.clear();
            return asHtml(path_AdminDictSynonym_AdminDictSynonymJsp).renderWith(data -> {
                searchPaging(data, form);
            });
        }
    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)
  10. src/main/java/org/codelibs/fess/app/web/admin/dict/stopwords/AdminDictStopwordsAction.java

         *
         * @param form the search form
         * @return HTML response for the index page
         */
        @Execute
        @Secured({ ROLE, ROLE + VIEW })
        public HtmlResponse index(final SearchForm form) {
            validate(form, messages -> {}, this::asDictIndexHtml);
            stopwordsPager.clear();
            return asHtml(path_AdminDictStopwords_AdminDictStopwordsJsp).renderWith(data -> {
                searchPaging(data, form);
            });
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 20.3K bytes
    - Click Count (0)
Back to Top