Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 211 - 220 of 1,249 for new1 (0.01 seconds)

  1. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessTimeResourceProviderTest.java

            final Exception[] exceptions = new Exception[threadCount];
    
            for (int i = 0; i < threadCount; i++) {
                final int index = i;
                threads[i] = new Thread(() -> {
                    try {
                        providers[index] = new FessTimeResourceProvider(mockConfig);
                    } catch (Exception e) {
                        exceptions[index] = e;
                    }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.8K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsItemTest.java

        @Test
        public void test_hashCode() {
            // Test hashCode method
            StopwordsItem item1 = new StopwordsItem(1, "test");
            StopwordsItem item2 = new StopwordsItem(1, "test");
            StopwordsItem item3 = new StopwordsItem(2, "test");
            StopwordsItem item4 = new StopwordsItem(1, "different");
    
            // Same input should have same hashCode regardless of id
            assertEquals(item1.hashCode(), item2.hashCode());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/util/InputStreamThreadTest.java

            StringBuilder largeInput = new StringBuilder();
            for (int i = 0; i < 5000; i++) {
                largeInput.append("Line number ").append(i).append("\n");
            }
    
            InputStream is = new ByteArrayInputStream(largeInput.toString().getBytes(StandardCharsets.UTF_8));
    
            CountDownLatch latch = new CountDownLatch(1);
            List<String> receivedLines = new ArrayList<>();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 12K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/job/CrawlJobTest.java

            });
    
            ComponentUtil.register(new KeyMatchHelper() {
                @Override
                public void update() {
                    // Mock update
                }
            }, "keyMatchHelper");
    
            crawlJob.webConfigIds(new String[] { "web1", "web2" });
            crawlJob.fileConfigIds(new String[] { "file1" });
            crawlJob.dataConfigIds(new String[] { "data1", "data2", "data3" });
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

        protected Analyzer analyzer = new WhitespaceAnalyzer();
    
        /** Whether to allow leading wildcards in query terms */
        protected boolean allowLeadingWildcard = true;
    
        /** The default operator to use between query terms */
        protected Operator defaultOperator = Operator.AND;
    
        /** List of filters to apply to queries */
        protected List<Filter> filterList = new ArrayList<>();
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/fess/app/web/api/admin/dict/stopwords/ApiAdminDictStopwordsAction.java

            body.dictId = dictId;
            validateApi(body, messages -> {});
            final StopwordsPager pager = copyBeanToNewBean(body, StopwordsPager.class);
            return asJson(new ApiResult.ApiConfigsResponse<EditBody>().settings(stopwordsService.getStopwordsList(body.dictId, pager)
                    .stream()
                    .map(stopwordsItem -> createEditBody(stopwordsItem, dictId))
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            )
            return violation
        }
    
        private static String prettyPrintJson(def acceptanceJson) {
            def stringWriter = new StringWriter()
            new JsonWriter(stringWriter).withCloseable { writer ->
                writer.setIndent("    ")
                new Gson().toJson(acceptanceJson, AcceptedApiChange, writer)
            }
            return stringWriter.toString()
        }
    
        String getCurrentVersion() {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jan 22 12:18:18 GMT 2026
    - 10K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            queryCommand = new WildcardQueryCommand();
            queryCommand.register();
        }
    
        @Test
        public void test_convertWildcardQuery_defaultField() throws Exception {
            // Test with default field
            QueryContext queryContext = new QueryContext("test*", false);
            WildcardQuery wildcardQuery = new WildcardQuery(new Term(Constants.DEFAULT_FIELD, "test*"));
    
    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)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/reqheader/ApiAdminReqheaderAction.java

            return asJson(new ApiConfigResponse().setting(reqHeaderService.getRequestHeader(id).map(this::createEditBody).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new request header setting.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/app/web/api/admin/webauth/ApiAdminWebauthAction.java

            return asJson(new ApiConfigResponse().setting(webAuthService.getWebAuthentication(id).map(this::createEditBody).orElseGet(() -> {
                throwValidationErrorApi(messages -> messages.addErrorsCrudCouldNotFindCrudTable(GLOBAL, id));
                return null;
            })).status(Status.OK).result());
        }
    
        /**
         * Creates a new web authentication setting.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 9.1K bytes
    - Click Count (0)
Back to Top