Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 90 for pattern2 (0.04 seconds)

  1. src/test/java/org/codelibs/fess/thumbnail/impl/EmptyGeneratorTest.java

            emptyGenerator = new EmptyGenerator();
    
            // Test adding conditions - this should work without container
            emptyGenerator.addCondition("field1", "pattern1");
            emptyGenerator.addCondition("field1", "pattern2");
            emptyGenerator.addCondition("field2", "pattern.*");
    
            // We can't test isTarget properly without container,
            // but we can verify conditions are added
            assertNotNull(emptyGenerator);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // Pattern with single backslash (14 chars): should match
            String singleBackslash = "image/svg" + "\\" + "+xml";
            assertEquals("Single backslash pattern should be 14 chars", 14, singleBackslash.length());
            assertTrue(svgMimetype.matches(singleBackslash));
    
            // Pattern with double backslash (15 chars): should NOT match
            String doubleBackslash = "image/svg" + "\\\\" + "+xml";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

                return false;
            }
    
            Pattern pattern = (Pattern) propMap.get(USER_CODE_PATTERN);
            if (pattern == null) {
                pattern = Pattern.compile(getUserCodePattern());
                propMap.put(USER_CODE_PATTERN, pattern);
            }
            return pattern.matcher(userCode).matches();
        }
    
        String getQueryCollapseInnerHitsSorts();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 02:24:08 GMT 2026
    - 92.3K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/crawler/rule/CrawlerRuleMimeTypePatternTest.java

            Pattern pattern = Pattern.compile(FS_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("text/html").matches());
        }
    
        @Test
        public void test_fsFileRulePattern_lhaTypes() {
            Pattern pattern = Pattern.compile(FS_FILE_RULE_PATTERN);
            assertTrue(pattern.matcher("application/lha").matches());
            assertTrue(pattern.matcher("application/x-lha").matches());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

            System.setProperty("java.version", "11.0.1");
    
            // Test version patterns with different separators
            String[] args = new String[] { "11:-Dprop=value:with:colons", "8-:-Xbootclasspath/a:/path/to/jar", "malformed11:-invalid", // Should not match pattern
                    "11-malformed:-invalid" // Should not match pattern
            };
    
            String[] result = JvmUtil.filterJvmOptions(args);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  6. CLAUDE.md

    └── fess_indices/              # OpenSearch index mappings
    
    src/main/webapp/WEB-INF/view/  # JSP templates
    src/test/java/.../it/          # Integration tests (*Tests.java)
    ```
    
    ## Architecture Patterns
    
    ### Action (Controller)
    - Hierarchy: `TypicalAction` → `FessBaseAction` → `FessAdminAction`/`FessSearchAction`
    - `@Execute` marks web endpoints
    - `@Resource` for DI
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 09:48:10 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/LabelTypeHelperTest.java

            assertTrue(pattern.match("/test/path"));
    
            // Should not match excluded path
            assertFalse(pattern.match("/exclude/path"));
        }
    
        @Test
        public void test_labelTypePattern_match_noPatterns() {
            LabelTypePattern pattern = new LabelTypePattern("test", null, null);
    
            // Should match everything when no patterns
            assertTrue(pattern.match("/any/path"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/validation/CronExpressionValidatorTest.java

            assertFalse(validator.isValid("* * * *", context));
        }
    
        // Test common valid cron patterns that are likely to work
        @Test
        public void test_basicValidCronExpressions() {
            final ConstraintValidatorContext context = null;
    
            // Test basic patterns that should be valid
            String[] potentiallyValidCrons = { "0 0 * * * ?", // Every hour
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  9. architecture/standards/0008-use-nullaway.md

    * Java compilation of Gradle code suffers from small performance penalty (up to 10%).
    * Time has to be allocated to clean up existing projects.
    * One has to write NullAway-conformant code even when hacking.
    * Some patterns used to satisfy NullAway can be slightly more verbose.
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Mar 05 12:39:41 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/Constants.java

        /** Pattern for detecting reserved characters in Lucene range field queries. */
        public static final Pattern LUCENE_RANGE_FIELD_RESERVED_PATTERN = Pattern.compile("([!\\(\\){}\\[\\]\"~\\\\:\\p{Zs}]|(&&)|(\\|\\|))");
    
        // ============================================================
        // Query and Search Constants
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 35.8K bytes
    - Click Count (0)
Back to Top