Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2361 - 2370 of 3,758 for null (0.15 sec)

  1. src/main/java/org/codelibs/core/beans/factory/BeanDescFactory.java

         *            the Bean class. Must not be {@literal null}
         * @return {@link BeanDesc}
         */
        public static BeanDesc getBeanDesc(final Class<?> clazz) {
            assertArgumentNotNull("clazz", clazz);
    
            if (!initialized) {
                initialize();
            }
            BeanDesc beanDesc = beanDescCache.get(clazz);
            if (beanDesc == null) {
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmNtHashAuthenticator.java

         *            NT password hash
         */
        public NtlmNtHashAuthenticator(final String domain, final String username, final byte[] passwordHash) {
            super(domain, username, (String) null, AuthenticationType.USER);
            if (passwordHash == null || passwordHash.length != 16) {
                throw new IllegalArgumentException("Password hash must be provided, expected length 16 byte");
            }
            this.ntHash = passwordHash;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/net/MimeTypeUtilTest.java

         */
        @Test
        public void testGuessContentType() {
            exception.expect(EmptyArgumentException.class);
            exception.expectMessage(is("[ECL0010]argument[path] is null or empty string."));
            MimeTypeUtil.guessContentType(null);
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/ResponseDataUtil.java

         * @throws CrawlingAccessException if an error occurs while reading the response body
         */
        public static File createResponseBodyFile(final ResponseData responseData) {
            File tempFile = null;
            FileOutputStream fos = null;
            try (final InputStream is = responseData.getResponseBody()) {
                tempFile = File.createTempFile("crawler-", ".tmp");
                tempFile.setReadable(false, false);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/BinaryTransformerTest.java

            assertEquals("xyz", new String(resultData.getData()));
        }
    
        public void test_transform_null() {
            try {
                binaryTransformer.transform(null);
                fail();
            } catch (final CrawlerSystemException e) {
                // NOP
            }
        }
    
        public void test_getData() throws Exception {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Mar 15 06:52:00 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/SetGenerators.java

      private static <E extends Comparable<? super E>> SortedSet<E> nullCheckedTreeSet(E[] elements) {
        SortedSet<E> set = newTreeSet();
        for (E element : elements) {
          // Explicit null check because TreeSet wrongly accepts add(null) when empty.
          set.add(checkNotNull(element));
        }
        return set;
      }
    
      public static class ContiguousSetGenerator extends AbstractContiguousSetGenerator {
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TableCollectionTest.java

          new Function<@Nullable Integer, @Nullable Integer>() {
            @Override
            public @Nullable Integer apply(@Nullable Integer input) {
              return (input == null) ? null : input / 2;
            }
          };
    
      abstract static class ColumnTests extends MapTests {
        ColumnTests(
            boolean allowsNullValues,
            boolean supportsPut,
            boolean supportsRemove,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/query/MatchAllQueryCommandTest.java

        }
    
        public void test_execute_withNullContext() {
            // Test execute method with null context
            MatchAllDocsQuery query = new MatchAllDocsQuery();
            float boost = 1.0f;
    
            QueryBuilder result = matchAllQueryCommand.execute(null, query, boost);
    
            assertNotNull(result);
            assertTrue(result instanceof MatchAllQueryBuilder);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

            return of(element);
          default:
            return new RegularImmutableList<E>(ImmutableList.<E>nullCheckedList(elements));
        }
      }
    
      // Factory method that skips the null checks.  Used only when the elements
      // are guaranteed to be non-null.
      static <E> ImmutableList<E> unsafeDelegateList(List<? extends E> list) {
        switch (list.size()) {
          case 0:
            return of();
          case 1:
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/MIENameTest.java

            }
    
            @Test
            void equalsHandlesNullNames() {
                ASN1ObjectIdentifier oid = testOid();
                MIEName a = new MIEName(oid, null);
                MIEName b = new MIEName(oid, null);
                assertEquals(a, b);
                assertNull(a.toString()); // toString returns field as-is
            }
    
            @Test
            void notEqualWhenOidDiffersOrNameNullityDiffers() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
Back to top