Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1641 - 1650 of 3,735 for Null (0.04 sec)

  1. android/guava/src/com/google/common/reflect/Types.java

          @Nullable Type ownerType, Class<?> rawType, Type... arguments) {
        if (ownerType == null) {
          return newParameterizedType(rawType, arguments);
        }
        // ParameterizedTypeImpl constructor already checks, but we want to throw NPE before IAE
        checkNotNull(arguments);
        checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType);
        return new ParameterizedTypeImpl(ownerType, rawType, arguments);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/filter/UrlFilterTest.java

            // Initialization should complete without errors
            assertNotNull(urlFilter);
        }
    
        /**
         * Test initialization with null session ID
         */
        public void test_init_withNullSessionId() {
            urlFilter.init(null);
            // Should handle null session ID gracefully
            assertNotNull(urlFilter);
        }
    
        /**
         * Test initialization with empty session ID
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        toPut.put(null, 1);
        ImmutableSetMultimap.Builder<String, Integer> builder = ImmutableSetMultimap.builder();
        assertThrows(NullPointerException.class, () -> builder.put(null, 1));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, Arrays.asList(1, 2, 3)));
        assertThrows(NullPointerException.class, () -> builder.putAll(null, 1, 2, 3));
        assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null),
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
            .addEqualityGroup(Equivalence.equals().wrap("hello"))
            .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null))
            .testEquals();
      }
    
      public void testWrap_get() {
        String test = "test";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/base/EquivalenceTest.java

            .addEqualityGroup(
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null),
                LENGTH_EQUIVALENCE.<@Nullable String>wrap(null))
            .addEqualityGroup(Equivalence.equals().wrap("hello"))
            .addEqualityGroup(Equivalence.equals().<@Nullable Object>wrap(null))
            .testEquals();
      }
    
      public void testWrap_get() {
        String test = "test";
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/util/transport/ResponseTest.java

            Long expiration = 123456789L;
            when(mockResponse.getExpiration()).thenReturn(expiration);
            assertEquals(expiration, mockResponse.getExpiration());
    
            // Test null expiration
            when(mockResponse.getExpiration()).thenReturn(null);
            assertNull(mockResponse.getExpiration());
    
            // Verify the method was called
            verify(mockResponse, times(2)).getExpiration();
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/unit/TestSystemProperties.java

                logger.warn("Failed to create temp file, using null", e);
                return null;
            }
        }
    
        private void loadTestProperties() {
            // Load system.properties from test classpath
            try (InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream("system.properties")) {
                if (is != null) {
                    Properties props = new Properties();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/netbios/LmhostsTest.java

        }
    
        @Test
        void testGetByNameWithName() {
            // Test the internal getByName method that takes a Name object
            Name name = new Name(mockConfig, "TESTHOST", 0x20, null);
            when(mockConfig.getLmHostsFileName()).thenReturn(null);
    
            NbtAddress result = lmhosts.getByName(name, mockContext);
    
            assertNull(result);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

        }
    
        @Test
        public void testDeleteScrollContext() {
            // Test with null scrollId (should not throw exception)
            SuggestUtil.deleteScrollContext(client, null);
    
            // Test with non-null scrollId
            String scrollId = "test_scroll_id";
            SuggestUtil.deleteScrollContext(client, scrollId);
            // No exception should be thrown
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaProvider.java

            if (endpointGroup != null) {
                try {
                    // In real implementation: endpointGroup.close();
                    log.info("DiSNI RDMA provider shut down");
                } catch (Exception e) {
                    log.error("Error shutting down DiSNI", e);
                } finally {
                    endpointGroup = null;
                    endpoint = null;
                    initialized = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 5.2K bytes
    - Viewed (0)
Back to top