Search Options

Results per page
Sort
Preferred Languages
Advance

Results 491 - 500 of 3,735 for Null (0.02 sec)

  1. src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java

            verifyNoMoreInteractions(renewable);
        }
    
        @Test
        @DisplayName("Edge: calling renew() on a null reference throws NPE")
        void renewOnNullReferenceThrowsNPE() {
            // Arrange: null reference to the interface
            SmbRenewableCredentials creds = null;
    
            // Act + Assert: invoking renew() on null triggers NullPointerException
            assertThrows(NullPointerException.class, () -> {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java

            // Given - Various invalid buffers
            byte[] nullBuffer = null;
            byte[] wrongSizeBuffer = new byte[100]; // Wrong size
            byte[] correctBuffer = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE];
    
            // When/Then - Should handle invalid buffers gracefully
            assertDoesNotThrow(() -> {
                BufferCache.releaseBuffer(nullBuffer); // Should ignore null
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/cors/CorsHandlerTest.java

        @Override
        public void setUp() throws Exception {
            super.setUp();
            responseHeaders = new HashMap<>();
            processCalled = false;
            processOrigin = null;
            processRequest = null;
            processResponse = null;
    
            // Create a test implementation of CorsHandler
            corsHandler = new CorsHandler() {
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

      private <T extends Iterator<E>> void internalExecuteAndCompare(
          T reference, T target, IteratorOperation method) {
        Object referenceReturnValue = null;
        PermittedMetaException referenceException = null;
        Object targetReturnValue = null;
        Exception targetException = null;
    
        try {
          targetReturnValue = method.execute(target);
        } catch (Exception e) { // sneaky checked exception
          targetException = e;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/PathMappingHelper.java

         * @param pathMappingList the path mapping list
         */
        public void setPathMappingList(final String sessionId, final List<PathMapping> pathMappingList) {
            if (sessionId != null) {
                if (pathMappingList != null) {
                    pathMappingMap.put(sessionId, pathMappingList);
                } else {
                    removePathMappingList(sessionId);
                }
            }
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                        return e;
                    }
                }
    
                return null;
            }
    
            @SuppressWarnings({"unchecked", "checkstyle:methodlength"})
            private void traverseObjectWithParents(Class<?> cls, Object target) throws ModelInterpolationException {
                if (cls == null) {
                    return;
                }
    
                if (cls.isArray()) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 14K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.java

            @Override
            public Path getPath() {
                return null;
            }
    
            @Override
            public Source resolve(String relative) {
                return null;
            }
    
            @Override
            @Nullable
            public ModelSource resolve(@Nonnull ModelLocator modelLocator, @Nonnull String relative) {
                return null;
            }
        }
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 8K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/stopwords/StopwordsFile.java

                long id = 0;
                String line = null;
                while ((line = reader.readLine()) != null) {
                    if (line.length() == 0 || line.charAt(0) == '#') {
                        if (updater != null) {
                            updater.write(line);
                        }
                        continue; // ignore empty lines and comments
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            byte[] encrypted = storage.encryptCredentials(null);
            assertNull(encrypted, "Encrypting null should return null");
    
            char[] decrypted = storage.decryptCredentials(null);
            assertNull(decrypted, "Decrypting null should return null");
        }
    
        @Test
        public void testEncryptDecryptLongPassword() throws Exception {
            // Test with very long password
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PdfExtractor.java

         * @return the embedded file, or null if not found
         */
        protected PDEmbeddedFile getEmbeddedFile(final PDComplexFileSpecification fileSpec) {
            // search for the first available alternative of the embedded file
            PDEmbeddedFile embeddedFile = null;
            if (fileSpec != null) {
                embeddedFile = fileSpec.getEmbeddedFileUnicode();
                if (embeddedFile == null) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top