Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 3,758 for null (0.08 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        assertThrows(NullPointerException.class, () -> ImmutableBiMap.of(null, 1));
    
        assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", 1, null, 2));
      }
    
      public void testOfNullValue() {
        assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", null));
    
        assertThrows(NullPointerException.class, () -> ImmutableBiMap.of("one", 1, "two", null));
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/CookiesTest.kt

      @StartStop
      private val server = MockWebServer()
    
      private var client = clientTestRule.newClient()
    
      @Test
      fun testNetscapeResponse() {
        val cookieManager = CookieManager(null, CookiePolicy.ACCEPT_ORIGINAL_SERVER)
        client =
          client
            .newBuilder()
            .cookieJar(JavaNetCookieJar(cookieManager))
            .build()
        val urlWithIpAddress = urlWithIpAddress(server, "/path/foo")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponseTest.java

            Field errorCodeField = null;
    
            while (currentClass != null && errorCodeField == null) {
                try {
                    errorCodeField = currentClass.getDeclaredField("errorCode");
                } catch (NoSuchFieldException e) {
                    currentClass = currentClass.getSuperclass();
                }
            }
    
            if (errorCodeField != null) {
                errorCodeField.setAccessible(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsValueTester.java

        assertTrue(multimap().containsValue(null));
      }
    
      @MapFeature.Require(ALLOWS_NULL_VALUE_QUERIES)
      public void testContainsNullValueNo() {
        assertFalse(multimap().containsValue(null));
      }
    
      @MapFeature.Require(absent = ALLOWS_NULL_VALUE_QUERIES)
      public void testContainsNullValueFails() {
        assertThrows(NullPointerException.class, () -> multimap().containsValue(null));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/lang/ClassLoaderIterator.java

         * @return an {@link Iterable} wrapping a {@link ClassLoaderIterator}
         */
        public static Iterable<ClassLoader> iterable(final ClassLoader classLoader) {
            return () -> new ClassLoaderIterator(classLoader);
        }
    
        /**
         * Constructs an instance.
         *
         * @param classLoader the class loader (must not be {@literal null})
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/text/DecimalFormatUtil.java

         * @param locale
         *            The locale. Must not be {@literal null}.
         * @return The normalized string
         */
        public static String normalize(final String s, final Locale locale) {
            assertArgumentNotNull("locale", locale);
    
            if (s == null) {
                return null;
            }
            final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(locale);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResourceLocator.java

        /**
         * Returns the full uncanonicalized URL of this SMB resource. An
         * <code>SmbFile</code> constructed with the result of this method will
         * result in an <code>SmbFile</code> that is equal to the original.
         *
         * @return The uncanonicalized full URL of this SMB resource.
         */
    
        String getPath();
    
        /**
         * Returns the full URL of this SMB resource with '.' and '..' components
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/av/AvChannelBindingsTest.java

        /**
         * Test that the constructor handles a null channel binding hash.
         */
        @Test
        void testConstructorWithNullHash() {
            AvChannelBindings avChannelBindings = new AvChannelBindings(null);
    
            assertEquals(AvPair.MsvAvChannelBindings, avChannelBindings.getType(), "Type should be MsvAvChannelBindings");
            assertNull(avChannelBindings.getRaw(), "Value should be null when null hash is provided");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/AllocInfoTest.java

        }
    
        /**
         * Null pointer scenario – calls on a null reference should raise
         * {@link NullPointerException}. This test is defensive; in real code it
         * would likely be handled elsewhere.
         */
        @Test
        @DisplayName("calling getters on null reference throws NPE")
        void testNullReference() {
            AllocInfo nullRef = null;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/opensearch/user/exentity/User.java

            final Map<String, Object> sourceMap = new HashMap<>();
            if (name != null) {
                sourceMap.put("name", name);
            }
            if (password != null) {
                sourceMap.put("password", password);
            }
            if (groups != null) {
                sourceMap.put("groups", groups);
            }
            if (roles != null) {
                sourceMap.put("roles", roles);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top