Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 4,689 for nulls (0.02 seconds)

  1. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinNullabilityChangesTest.kt

                        val someVal: String? = null
                        var someVar: String? = null
                        fun foo(): String? = null
                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.foo(): From non-null returning to null returning breaking change.",
                    "Method com.example.Source.getSomeVal(): From non-null returning to null returning breaking change.",
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Feb 04 09:55:47 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java

            // and we want artifact resolution to only return the system scoped artifact itself.
            //
            if (artifact.getScope() != null && artifact.getScope().equals(Artifact.SCOPE_SYSTEM)) {
                return new ResolutionGroup(null, null, null);
            }
    
            ResolutionGroup cached = cache.get(
                    artifact,
                    request.isResolveManagedVersions(),
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Sep 25 12:03:50 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbTreeConnection.java

            CIFSException last = null;
            final RequestWithPath rpath = request instanceof RequestWithPath r ? r : null;
            final String savedPath = rpath != null ? rpath.getPath() : null;
            final String savedFullPath = rpath != null ? rpath.getFullUNCPath() : null;
    
            final String fullPath = "\\" + loc.getServer() + "\\" + loc.getShare() + loc.getUNCPath();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 30.4K bytes
    - Click Count (1)
  4. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultVersionResolver.java

                VersionResult result) {
            Versioning versioning = null;
            try {
                if (metadata != null) {
                    try (SyncContext syncContext = syncContextFactory.newInstance(session, true)) {
                        syncContext.acquire(null, Collections.singleton(metadata));
    
                        if (metadata.getPath() != null && Files.exists(metadata.getPath())) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 20.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/crawler/serializer/DataSerializerTest.java

            }
        }
    
        /**
         * Test serialization of null value
         */
        @Test
        public void test_serializeDeserialize_null() {
            byte[] serialized = serializer.fromObjectToBinary(null);
            assertNotNull(serialized, "Serialized data should not be null even for null input");
    
            Object deserialized = serializer.fromBinaryToObject(serialized);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 21.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/spnego/NegTokenInitTest.java

            NegTokenInit p4 = new NegTokenInit(tokenTag4);
            assertArrayEquals(mic, p4.getMechanismListMIC(), "MIC should be parsed from tag [4]");
    
            // Tag [3]
            byte[] tokenTag3 = buildInitToken(new ASN1ObjectIdentifier[] { OID_KRB }, null, null, mic, false, null, null, null);
            NegTokenInit p3 = new NegTokenInit(tokenTag3);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 21K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/ArrayUtil.java

         *
         * @param arrays
         *            the array
         * @return {@literal true} if the array is {@literal null} or has a length of 0
         */
        public static boolean isEmpty(final boolean[] arrays) {
            return arrays == null || arrays.length == 0;
        }
    
        /**
         * Returns {@literal true} if the array is not {@literal null} and its length is not 0.
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 41.5K bytes
    - Click Count (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/VersionRangeResolverRequest.java

            return build(session, artifactCoordinates, null, null);
        }
    
        /**
         * Creates a version range resolver request.
         *
         * @param session the session to use, must not be {@code null}
         * @param artifactCoordinates the artifact coordinates whose version range should be resolved, must not be {@code null}
         * @param repositories the repositories to use, or {@code null} to use the session's repositories
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/index/contents/DefaultContentsParserEdgeCaseTest.java

            SuggestItem item =
                    parser.parseSearchWords(words, null, null, null, null, 1, defaultReadingConverter, defaultNormalizer, analyzer, null);
    
            // Should handle null fields gracefully
            assertNotNull(item);
        }
    
        @Test
        public void test_parseSearchWords_emptyFields() throws Exception {
            String[] words = new String[] { "test" };
            String[] fields = new String[0];
    
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sat Mar 14 02:35:38 GMT 2026
    - 20.3K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/opensearch/config/allcommon/EsAbstractConditionBean.java

        protected void assertObjectNotNull(String variableName, Object value) {
            if (variableName == null) {
                String msg = "The value should not be null: variableName=null value=" + value;
                throw new IllegalArgumentException(msg);
            }
            if (value == null) {
                String msg = "The value should not be null: variableName=" + variableName;
                throw new IllegalArgumentException(msg);
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 17.8K bytes
    - Click Count (0)
Back to Top