Search Options

Results per page
Sort
Preferred Languages
Advance

Results 971 - 980 of 3,758 for null (0.06 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

                if (responseData == null) {
                    return false;
                }
    
                boolean urlMatch = true;
                if (urlPattern != null && responseData.getUrl() != null) {
                    urlMatch = responseData.getUrl().matches(urlPattern);
                }
    
                boolean mimeMatch = true;
                if (mimeTypePattern != null && responseData.getMimeType() != null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        void testNullDecryptionKey() {
            // When/Then
            assertThrows(NullPointerException.class, () -> {
                new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, null);
            }, "Should throw NullPointerException for null decryption key");
        }
    
        @Test
        @DisplayName("Should accept null dialect during construction")
        void testNullDialect() {
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/MultimapKeysTester.java

        assertEquals(0, multimap().keys().count(null));
      }
    
      @CollectionSize.Require(SEVERAL)
      @MapFeature.Require(ALLOWS_NULL_KEYS)
      public void testKeysWithNullKey() {
        resetContainer(mapEntry((K) null, v0()), mapEntry((K) null, v1()), mapEntry(k1(), v0()));
        Multiset<K> keys = multimap().keys();
        assertEquals(2, keys.count(null));
        assertEquals(1, keys.count(k1()));
        assertEquals(3, keys.size());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbUnsupportedOperationExceptionTest.java

            String ts = ex.toString();
            assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name");
            if (msg != null) {
                assertTrue(ts.contains(msg), "toString should contain provided message");
            } else {
                assertFalse(ts.contains(":"), "toString should not contain ':' when message is null");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

            if (badWord.contains(" ") || badWord.contains("  ")) {
                return "badWord contains space.";
            }
            return null;
        }
    
        /**
         * Update default bad words.
         */
        protected static void updateDefaultBadwords() {
            if (defaultWords != null) {
                return;
            }
    
            final List<String> list = new ArrayList<>();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals("correct", f.apply(new Object()));
        assertEquals("correct", f.apply(null));
    
        Function<@Nullable Object, @Nullable String> g = Functions.constant(null);
        assertEquals(null, g.apply(2));
        assertEquals(null, g.apply(null));
    
        new EqualsTester()
            .addEqualityGroup(f, Functions.constant("correct"))
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/MultiReader.java

        if (n > 0) {
          while (current != null) {
            long result = current.skip(n);
            if (result > 0) {
              return result;
            }
            advance();
          }
        }
        return 0;
      }
    
      @Override
      public boolean ready() throws IOException {
        return (current != null) && current.ready();
      }
    
      @Override
      public void close() throws IOException {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/VersionConstraint.java

        /**
         * Returns the range of this constraint, or {@code null} if none.
         * <p>
         * Note: only one, this method or {@link #getRecommendedVersion()} method must return non-{@code null} value.
         */
        @Nullable
        VersionRange getVersionRange();
    
        /**
         * Returns the recommended version of this constraint, or {@code null} if none.
         * <p>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Streams.java

       */
      /*
       * By declaring <T> instead of <T extends @Nullable Object>, we declare this method as requiring a
       * stream whose elements are non-null. However, the method goes out of its way to still handle
       * nulls in the stream. This means that the method can safely be used with a stream that contains
       * nulls as long as the *last* element is *not* null.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 37K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[props] is null."));
            final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties");
            PropertiesUtil.load(null, inputStream);
        }
    
        /**
         * Test method for
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top