Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 741 - 750 of 4,689 for nulls (0.02 seconds)

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

            File outputFile = new File("test.jpg");
            assertFalse(emptyGenerator.generate("thumbnailId", outputFile));
            assertFalse(emptyGenerator.generate(null, outputFile));
            assertFalse(emptyGenerator.generate("thumbnailId", null));
            assertFalse(emptyGenerator.generate(null, null));
        }
    
        @Test
        public void test_destroy() {
            // Initialize without container
            emptyGenerator = new 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. guava-testlib/src/com/google/common/collect/testing/testers/ListAddAllAtIndexTester.java

      public void testAddAllAtIndex_nullSupported() {
        List<E> containsNull = singletonList(null);
        assertTrue("addAll(n, containsNull) should return true", getList().addAll(0, containsNull));
        /*
         * We need (E) to force interpretation of null as the single element of a
         * varargs array, not the array itself
         */
        expectAdded(0, (E) null);
      }
    
      @ListFeature.Require(SUPPORTS_ADD_WITH_INDEX)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 6.4K bytes
    - Click Count (0)
  3. src/packaging/common/scripts/postrm

    fi
    
    if [ "$REMOVE_SERVICE" = "true" ]; then
        if command -v systemctl >/dev/null; then
            systemctl --no-reload disable fess.service > /dev/null 2>&1 || true
        fi
    
        if command -v chkconfig >/dev/null; then
            chkconfig --del fess 2> /dev/null || true
        fi
    
        if command -v update-rc.d >/dev/null; then
            update-rc.d fess remove >/dev/null || true
        fi
    fi
    
    if [ "$REMOVE_DIRS" = "true" ]; then
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 10 01:24:02 GMT 2015
    - 2.2K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/pager/ReqHeaderPager.java

            pageSize = getDefaultPageSize();
            currentPageNumber = getDefaultCurrentPageNumber();
    
            id = null;
            name = null;
            value = null;
            webConfigId = null;
            createdBy = null;
            createdTime = null;
            versionNo = null;
    
        }
    
        /**
         * Gets the default current page number.
         *
         * @return the default current page number
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/curl/CurlResponse.java

         */
        private Map<String, List<String>> headers;
    
        /**
         * Closes the content cache if it is not null.
         *
         * @throws IOException if an I/O error occurs.
         */
        @Override
        public void close() throws IOException {
            if (contentCache != null) {
                contentCache.close();
            }
        }
    
        /**
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        protected void setUp(TestInfo testInfo) throws Exception {
            super.setUp(testInfo);
            responseHeaders = new HashMap<>();
            processCalled = false;
            processOrigin = null;
            processRequest = null;
            processResponse = null;
    
            // Create a test implementation of CorsHandler
            corsHandler = new CorsHandler() {
                @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 26.3K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

                assertTrue(e.getMessage().contains("scriptEngine: null"));
            }
        }
    
        // Test add method with both null parameters
        @Test
        public void test_add_bothNull() {
            try {
                scriptEngineFactory.add(null, null);
                fail("Should throw IllegalArgumentException for null parameters");
            } catch (IllegalArgumentException e) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                    throw new NullPointerException("Null value encountered");
                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // Execute the job
            String result = aggregateLogJob.execute();
    
            // Verify result contains error message
            assertNotNull(result);
            assertTrue(result.contains("Null value encountered"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 12.3K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParser.java

            if (langs == null || langs.length == 0) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, "", null);
                return tokens == null || tokens.size() == 0;
            }
            for (final String lang : langs) {
                final List<AnalyzeToken> tokens = analyzer.analyze(searchWord, field, lang);
                if (tokens != null && tokens.size() > 0) {
                    return false;
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 15.2K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            Objects.requireNonNull(model, "model cannot be null");
    
            try (Writer out = output) {
                new MavenXpp3Writer().write(out, model);
            }
        }
    
        @Override
        public void write(OutputStream output, Map<String, Object> options, Model model) throws IOException {
            Objects.requireNonNull(output, "output cannot be null");
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top