Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1701 - 1710 of 3,735 for Null (0.02 sec)

  1. guava-tests/test/com/google/common/io/CloserTest.java

      }
    
      public void testExceptionThrown_whenCreatingCloseables() throws IOException {
        Closer closer = new Closer(suppressor);
    
        TestCloseable c1 = null;
        TestCloseable c2 = null;
        TestCloseable c3 = null;
        try {
          try {
            c1 = closer.register(TestCloseable.normal());
            c2 = closer.register(TestCloseable.normal());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/RangeMap.java

       *
       * <p>Specifically, if any range in this range map contains the specified key, the value
       * associated with that range is returned.
       */
      @Nullable V get(K key);
    
      /**
       * Returns the range containing this key and its associated value, if such a range is present in
       * the range map, or {@code null} otherwise.
       */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/http/NtlmServletTest.java

        @Test
        void testService_NoAuthHeader_NoSession() throws ServletException, IOException {
            ntlmServlet.init(servletConfig);
            when(request.getHeader("Authorization")).thenReturn(null);
            when(request.getSession(false)).thenReturn(null);
            lenient().when(request.isSecure()).thenReturn(true);
    
            ntlmServlet.service(request, response);
    
            verify(response).setHeader("WWW-Authenticate", "NTLM");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java

            assertSame(messages, result);
            assertTrue(messages.hasMessageOf(property));
        }
    
        // Test null property handling
        public void test_addErrorsFrontHeader_nullProperty() {
            try {
                messages.addErrorsFrontHeader(null);
                fail("Should throw exception for null property");
            } catch (IllegalArgumentException e) {
                // Expected
            }
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/query/QueryFieldConfigTest.java

        }
    
        @Override
        public void tearDown() throws Exception {
            ComponentUtil.setFessConfig(null);
            super.tearDown();
        }
    
        public void test_init() {
            // Test initialization with null fields
            queryFieldConfig.init();
    
            // Verify response fields are initialized
            assertNotNull(queryFieldConfig.getResponseFields());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformer.java

                }
    
                final byte[] data = accessResultData.getData();
                if (data == null) {
                    return null;
                }
                final String encoding = accessResultData.getEncoding();
                try {
                    return new String(data, encoding == null ? Constants.UTF_8 : encoding);
                } catch (final UnsupportedEncodingException e) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableTable.java

       * generated by applying the specified functions.
       *
       * <p>The returned {@code Collector} will throw a {@code NullPointerException} at collection time
       * if the row, column, or value functions return null on any input.
       *
       * @since 33.2.0 (available since 21.0 in guava-jre)
       */
      @IgnoreJRERequirement // Users will use this only if they're already using streams.
      public static <T extends @Nullable Object, R, C, V>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.4K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java

        assertTrue(multimap().containsKey(null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_KEY_QUERIES)
      public void testContainsKeyNullAbsent() {
        assertFalse(multimap().containsKey(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_KEY_QUERIES)
      public void testContainsKeyNullDisallowed() {
        assertThrows(NullPointerException.class, () -> multimap().containsKey(null));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/rdma/RdmaProviderFactoryTest.java

        public void testCreateProviderDisni() {
            RdmaProvider provider = RdmaProviderFactory.createProvider("disni");
            // DiSNI may or may not be available depending on system configuration
            if (provider != null) {
                assertTrue(provider.isAvailable(), "If DiSNI provider is returned, it should be available");
                assertEquals("DiSNI (InfiniBand/RoCE)", provider.getProviderName());
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/exception/CrawlerSystemException.java

         * @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method).
         *              (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.)
         */
        public CrawlerSystemException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top