Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1231 - 1240 of 3,758 for null (0.02 sec)

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

        }
    
        public void test_constructor_withNullComponentName() {
            // Test constructor with null component name
            ContainerNotAvailableException exception = new ContainerNotAvailableException((String) null);
    
            assertEquals("null is not available.", exception.getMessage());
            assertNull(exception.getCause());
            assertNull(exception.getComponentName());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/compression/DefaultCompressionService.java

            if (data == null) {
                throw new CIFSException("Data cannot be null");
            }
            return compress(data, 0, data.length, algorithm);
        }
    
        @Override
        public byte[] compress(byte[] data, int offset, int length, int algorithm) throws CIFSException {
            if (data == null) {
                throw new CIFSException("Data cannot be null");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/bsentity/BsClickLog.java

            Map<String, Object> sourceMap = new HashMap<>();
            if (urlId != null) {
                addFieldToSource(sourceMap, "urlId", urlId);
            }
            if (docId != null) {
                addFieldToSource(sourceMap, "docId", docId);
            }
            if (order != null) {
                addFieldToSource(sourceMap, "order", order);
            }
            if (queryId != null) {
                addFieldToSource(sourceMap, "queryId", queryId);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

         *            The algorithm. Must not be {@literal null} or an empty string.
         * @param text
         *            The string to be hashed.
         * @return The hashed string.
         */
        public static String digest(final String algorithm, final String text) {
            assertArgumentNotEmpty("algorithm", algorithm);
    
            if (text == null) {
                return null;
            }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/LhaExtractorTest.java

                lhaExtractor.setMaxContentSize(100);
                lhaExtractor.getText(in, null);
                fail();
            } catch (MaxLengthExceededException e) {
                // pass
            }
            lhaExtractor.setMaxContentSize(-1);
        }
    
        public void test_getText_null() {
            try {
                lhaExtractor.getText(null, null);
                fail();
            } catch (final CrawlerSystemException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Aug 07 02:55:08 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/testers/ListSetTester.java

      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_null() {
        doTestSet(null);
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      @ListFeature.Require(SUPPORTS_SET)
      public void testSet_replacingNull() {
        E[] elements = createSamplesArray();
        int i = aValidIndex();
        elements[i] = null;
        collection = getSubjectGenerator().create(elements);
    
        doTestSet(e3());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          Path file = createFile();
          if (initialBytes != null) {
            java.nio.file.Files.write(file, initialBytes);
            return MoreFiles.asByteSink(file, StandardOpenOption.APPEND);
          }
          return MoreFiles.asByteSink(file);
        }
    
        @Override
        public byte[] getExpected(byte[] bytes) {
          if (initialBytes == null) {
            return checkNotNull(bytes);
          } else {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 17.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        multimap().put(k3(), null);
    
        assertGet(k3(), Lists.newArrayList((V) null)); // ImmutableList.of can't take null.
        assertEquals(size + 1, multimap().size());
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutNullValue_unsupported() {
        assertThrows(NullPointerException.class, () -> multimap().put(k1(), null));
    
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        multimap().put(k3(), null);
    
        assertGet(k3(), Lists.newArrayList((V) null)); // ImmutableList.of can't take null.
        assertEquals(size + 1, multimap().size());
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUES)
      public void testPutNullValue_unsupported() {
        assertThrows(NullPointerException.class, () -> multimap().put(k1(), null));
    
        expectUnchanged();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/DefaultMavenMetadataCache.java

            if (a.getVersion() != null) {
                result = 31 * result + a.getVersion().hashCode();
            }
            result = 31 * result + (a.getClassifier() != null ? a.getClassifier().hashCode() : 0);
            result = 31 * result + (a.getScope() != null ? a.getScope().hashCode() : 0);
            result = 31 * result
                    + (a.getDependencyFilter() != null ? a.getDependencyFilter().hashCode() : 0);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 11.8K bytes
    - Viewed (0)
Back to top