Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1301 - 1310 of 3,758 for null (0.02 sec)

  1. src/test/java/jcifs/config/PropertyConfigurationTest.java

        }
    
        @Test
        @DisplayName("Should handle null properties gracefully")
        void testNullProperties() throws CIFSException {
            // PropertyConfiguration doesn't handle null properties
            // It should throw NullPointerException
            assertThrows(NullPointerException.class, () -> {
                new PropertyConfiguration(null);
            });
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

        }
    
        /**
         * {@inheritDoc}
         *
         * @see java.lang.Object#toString()
         */
        @Override
        public String toString() {
            String mic = null;
            if (this.getMechanismListMIC() != null) {
                mic = Hexdump.toHexString(this.getMechanismListMIC(), 0, this.getMechanismListMIC().length);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/dcerpc/UnicodeStringTest.java

            assertEquals(0, unicodeStringTrue.maximum_length, "Maximum length should be 0 for empty string");
            assertNull(unicodeStringTrue.buffer, "Buffer should be null for empty string");
    
            // Test with zterm = false
            UnicodeString unicodeStringFalse = new UnicodeString(false);
            assertFalse(unicodeStringFalse.zterm, "zterm should be false");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

                            // Get or create tree
                            SmbTreeImpl tree = session.getSmbTree(share, null);
                            assertNotNull(tree, "Tree should not be null");
    
                            // Verify we can acquire the tree
                            tree.acquire();
                            successCount.incrementAndGet();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/SingletonImmutableBiMap.java

        this.singleValue = singleValue;
        this.inverse = null;
      }
    
      private SingletonImmutableBiMap(K singleKey, V singleValue, ImmutableBiMap<V, K> inverse) {
        this.singleKey = singleKey;
        this.singleValue = singleValue;
        this.inverse = inverse;
      }
    
      @Override
      public @Nullable V get(@Nullable Object key) {
        return singleKey.equals(key) ? singleValue : null;
      }
    
      @Override
      public int size() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/DfsResolverTest.java

            when(mockConfig.isDfsDisabled()).thenReturn(false);
            when(mockContext.getCredentials()).thenReturn(mockCredentials);
            when(mockCredentials.getUserDomain()).thenReturn(null);
            assertFalse(dfsResolver.isTrustedDomain(mockContext, "anyDomain"));
        }
    
        @Test
        void testIsTrustedDomain_EmptyUserDomain() throws CIFSException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/MsrpcDfsRootEnumTest.java

            // The server name is stored in a protected field without a public getter, so we cannot directly test it.
            // We can test the public fields that are set.
            assertEquals(200, dfsRootEnum.level, "The level should be initialized to 200.");
            assertNotNull(dfsRootEnum.info, "The info struct should not be null.");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java

            userInfoHelper.setCookieSecure(null);
    
            MockletHttpServletRequest request = getMockRequest();
            request.addHeader("X-Forwarded-Proto", "https");
    
            assertTrue(userInfoHelper.isSecureCookie());
        }
    
        public void test_isSecureCookie_noRequest() {
            UserInfoHelper userInfoHelper = new UserInfoHelper();
            userInfoHelper.setCookieSecure(null);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 10 13:41:04 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/entity/GeoInfo.java

                    final BoolQueryBuilder boolQuery = QueryBuilders.boolQuery();
                    list.forEach(boolQuery::should);
                    return boolQuery;
                }
                return null;
            }).filter(q -> q != null).toArray(n -> new QueryBuilder[n]);
    
            if (queryBuilders.length == 1) {
                builder = queryBuilders[0];
            } else if (queryBuilders.length > 1) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/curl/io/ContentCache.java

            this.data = data;
            this.file = null;
        }
    
        /**
         * Constructs a ContentCache with the given file.
         *
         * @param file the file containing the content
         */
        public ContentCache(final File file) {
            this.data = null;
            this.file = file;
        }
    
        @Override
        public void close() throws IOException {
            if (file != null) {
                Files.delete(file.toPath());
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 3.8K bytes
    - Viewed (0)
Back to top