Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 1,249 for new1 (0.18 seconds)

  1. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            // Test creating multiple exceptions with different status codes
            WebApiException exception1 = new WebApiException(400, "Bad Request");
            WebApiException exception2 = new WebApiException(401, "Unauthorized");
            WebApiException exception3 = new WebApiException(500, "Internal Error");
    
            assertEquals(400, exception1.getStatusCode());
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/util/ComponentUtilTest.java

        }
    
        @Test
        public void test_setFessConfig_notNull() {
            FessConfig mockConfig = new FessConfig.SimpleImpl();
            ComponentUtil.setFessConfig(mockConfig);
            assertSame(mockConfig, ComponentUtil.getFessConfig());
        }
    
        @Test
        public void test_getFessConfig_cached() {
            FessConfig mockConfig = new FessConfig.SimpleImpl();
            ComponentUtil.setFessConfig(mockConfig);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

        }
    
        @Test
        public void test_multiLevelCause() {
            // Test with nested exceptions
            Throwable rootCause = new IllegalStateException("Root problem");
            Throwable intermediateCause = new RuntimeException("Intermediate problem", rootCause);
            GsaConfigException exception = new GsaConfigException("Top level GSA error", intermediateCause);
    
            assertNotNull(exception);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/llm/LlmExceptionTest.java

            final LlmException exception = new LlmException("Error message");
            assertEquals("Error message", exception.getMessage());
            assertNull(exception.getCause());
        }
    
        @Test
        public void test_constructorWithMessageAndCause() {
            final RuntimeException cause = new RuntimeException("Root cause");
            final LlmException exception = new LlmException("Error occurred", cause);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 05 04:19:06 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/util/ErrorToWarnRewritePolicyTest.java

            ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames);
    
            assertNotNull(policy);
        }
    
        @Test
        public void test_rewrite_with_null_logger_name() {
            String[] loggerNames = { "test.logger" };
            ErrorToWarnRewritePolicy policy = new ErrorToWarnRewritePolicy(loggerNames);
    
            LogEvent event =
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/JobProcessingExceptionTest.java

            // Test getMessage behavior with complex cause structure
            final Exception innerCause = new NullPointerException("NPE occurred");
            final Exception outerCause = new IllegalStateException("State error", innerCause);
            final JobProcessingException exception = new JobProcessingException(outerCause);
    
            assertNotNull(exception.getMessage());
            assertTrue(exception.getMessage().contains("IllegalStateException"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/job/SuggestJob.java

            final File targetDir = new File(userDir, "target");
            final File targetClassesDir = new File(targetDir, "classes");
            if (targetClassesDir.isDirectory()) {
                buf.append(cpSeparator);
                buf.append(targetClassesDir.getAbsolutePath());
            }
            // WEB-INF/lib
            appendJarFile(cpSeparator, buf, new File(servletContext.getRealPath("/WEB-INF/lib")),
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/helper/SearchHelper.java

         */
        protected byte[] gzipDecompress(final byte[] compressed) {
            try (final ByteArrayInputStream bis = new ByteArrayInputStream(compressed);
                    final GZIPInputStream gzipIn = new GZIPInputStream(bis);
                    final ByteArrayOutputStream bos = new ByteArrayOutputStream()) {
                final byte[] buffer = new byte[1024];
                int len;
                while ((len = gzipIn.read(buffer)) > 0) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 05:56:45 GMT 2025
    - 36.3K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/storage/StorageItemTest.java

            final StorageItem item = new StorageItem("", "/path/", false, 100L, null, "");
    
            assertEquals("", item.getName());
            assertEquals("/path/", item.getPath());
            assertEquals("", item.getEncodedId());
        }
    
        public void test_largeFileSize() {
            final long largeSize = 10737418240L; // 10 GB
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 12:58:11 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  10. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

        def transform() {
            XIncludeAwareXmlProvider provider = new XIncludeAwareXmlProvider()
            provider.parse(sourceFile.get().asFile)
            transformDocument(provider.document)
            provider.write(destFile.get().asFile)
        }
    
        private def transformDocument(Document mainDocbookTemplate) {
            ClassMetaDataRepository<ClassMetaData> classRepository = new SimpleClassMetaDataRepository<ClassMetaData>()
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 9.8K bytes
    - Click Count (0)
Back to Top