Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 4,689 for nulls (0.03 seconds)

  1. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            SpnegoException ex = new SpnegoException();
    
            // Then
            assertNotNull(ex, "Exception should be created");
            assertNull(ex.getMessage(), "Default message should be null");
            assertNull(ex.getCause(), "Default cause should be null");
            assertTrue(ex instanceof CIFSException, "Should be a CIFSException");
            assertTrue(ex instanceof IOException, "Should be an IOException");
        }
    
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            // Intentionally notNull because Super POM may not contain a modelId
            Objects.requireNonNull(modelId, "modelId cannot null");
    
            if (activeProfiles != null) {
                this.activePomProfiles.put(modelId, new ArrayList<>(activeProfiles));
            } else {
                this.activePomProfiles.remove(modelId);
            }
    
            return this;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java

            this.lookup = requireNonNull(lookup, "lookup cannot be null");
            this.languageRegistry = requireNonNull(languageRegistry, "languageRegistry cannot be null");
            this.usedTypes = new ConcurrentHashMap<>();
            this.manager = requireNonNull(manager, "artifactHandlerManager cannot be null");
        }
    
        @Override
        public void onEvent(Object event) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed May 14 04:47:58 GMT 2025
    - 4K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/xml/DomUtil.java

         *            The content. Must not be {@literal null}.
         * @param encoding
         *            The encoding. If {@literal null}, the platform's default encoding will be used.
         * @return {@link InputStream}
         */
        public static InputStream getContentsAsStream(final String contents, final String encoding) {
            assertArgumentNotNull("contents", contents);
    
            if (encoding == null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/opensearch/user/cbean/ca/bs/BsUserCA.java

            UserCQ cq = new UserCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                UserCA ca = new UserCA();
                aggsLambda.callback(ca);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 212.5K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsItemTest.java

            // Test hashCode with null input - should not throw, returns consistent hash for null
            ProtwordsItem item1 = new ProtwordsItem(1, null);
            ProtwordsItem item2 = new ProtwordsItem(2, null);
    
            // Should not throw
            int hash1 = item1.hashCode();
            int hash2 = item2.hashCode();
    
            // Same null input should produce same hashCode
            assertEquals(hash1, hash2);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.7K bytes
    - Click Count (0)
  7. src/test/java/jcifs/smb/ShareEnumIteratorTest.java

            }
    
            @Test
            @DisplayName("Null parent with non-empty iterator causes NullPointerException during adapt")
            void nullParent_throwsNPE() {
                List<FileEntry> entries = Collections.singletonList(entry("x", SmbConstants.TYPE_SHARE));
                assertThrows(NullPointerException.class, () -> new ShareEnumIterator(null, entries.iterator(), null));
            }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsWebConfigCA.java

            WebConfigCQ cq = new WebConfigCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                WebConfigCA ca = new WebConfigCA();
                aggsLambda.callback(ca);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 149K bytes
    - Click Count (0)
  9. src/main/java/jcifs/util/Strings.java

         *
         * @param str the string to encode
         * @param encoding the character encoding to use
         * @return encoded byte array, or empty array if str is null
         */
        public static byte[] getBytes(final String str, final Charset encoding) {
            if (str == null) {
                return new byte[0];
            }
            return str.getBytes(encoding);
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsDataConfigCQ.java

            if (opLambda != null) {
                opLambda.callback(builder);
            }
        }
    
        public void setId_NotEqual(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotTerm(String id) {
            setId_NotTerm(id, null);
        }
    
        public void setId_NotEqual(String id, ConditionOptionCall<BoolQueryBuilder> opLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 108.9K bytes
    - Click Count (0)
Back to Top