Search Options

Results per page
Sort
Preferred Languages
Advance

Results 961 - 970 of 3,735 for Null (0.02 sec)

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

            String ts = ex.toString();
            assertTrue(ts.contains("SmbUnsupportedOperationException"), "toString should contain class name");
            if (msg != null) {
                assertTrue(ts.contains(msg), "toString should contain provided message");
            } else {
                assertFalse(ts.contains(":"), "toString should not contain ':' when message is null");
            }
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/settings/BadWordSettings.java

            if (badWord.contains(" ") || badWord.contains("  ")) {
                return "badWord contains space.";
            }
            return null;
        }
    
        /**
         * Update default bad words.
         */
        protected static void updateDefaultBadwords() {
            if (defaultWords != null) {
                return;
            }
    
            final List<String> list = new ArrayList<>();
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Fri Jul 04 14:00:23 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                if (root_directory != null) {
                    _dst = _dst.deferred;
                    root_directory.encode(_dst);
    
                }
                if (object_name != null) {
                    _dst = _dst.deferred;
                    object_name.encode(_dst);
    
                }
                if (security_quality_of_service != null) {
                    _dst = _dst.deferred;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/DataStoreExceptionTest.java

            assertNotNull(exception);
            assertNull(exception.getCause());
            assertNull(exception.getMessage());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test with both null message and cause
            DataStoreException exception = new DataStoreException(null, null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with null buffer - throws NullPointerException")
        void testReadParameterWordsWithNullBuffer() {
            assertThrows(NullPointerException.class, () -> response.readParameterWordsWireFormat(null, 0));
        }
    
        @Test
        @DisplayName("readParameterWordsWireFormat with offset beyond buffer - throws exception")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/DiscreteDomain.java

        }
    
        @Override
        public @Nullable Integer next(Integer value) {
          int i = value;
          return (i == Integer.MAX_VALUE) ? null : i + 1;
        }
    
        @Override
        public @Nullable Integer previous(Integer value) {
          int i = value;
          return (i == Integer.MIN_VALUE) ? null : i - 1;
        }
    
        @Override
        Integer offset(Integer origin, long distance) {
          checkNonnegative(distance, "distance");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 17:34:21 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        void testNullDecryptionKey() {
            // When/Then
            assertThrows(NullPointerException.class, () -> {
                new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, null);
            }, "Should throw NullPointerException for null decryption key");
        }
    
        @Test
        @DisplayName("Should accept null dialect during construction")
        void testNullDialect() {
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb1/smb1/SmbFileFilterTest.java

        @Nested
        @DisplayName("Invalid input – null file handling")
        class InvalidPath {
            @Test
            void acceptWithNullThrows() {
                SmbFileFilter throwOnNull = new SmbFileFilter() {
                    @Override
                    public boolean accept(SmbFile file) throws SmbException {
                        if (file == null) {
                            throw new SmbException("null file");
                        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/dict/stopwords/StopwordsFileTest.java

            StopwordsFile.StopwordsUpdater updater = stopwordsFile.new StopwordsUpdater(null);
    
            StopwordsItem result = updater.commit();
            assertNull(result);
    
            updater.close();
        }
    
        public void test_updater_writeLine() {
            StopwordsFile.StopwordsUpdater updater = stopwordsFile.new StopwordsUpdater(null);
    
            // Test writing a comment line
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameTest.java

        }
    
        @Test
        void equals_withBothNullScope_shouldReturnTrue() {
            Name name1 = new Name(mockConfig, "TEST", 0x20, null);
            name1.scope = null;
            Name name2 = new Name(mockConfig, "TEST", 0x20, null);
            name2.scope = null;
    
            assertTrue(name1.equals(name2));
        }
    
        @Test
        void equals_withNonNameObject_shouldReturnFalse() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top