Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 5,044 for Null (0.02 seconds)

  1. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

            if (!Collection.class.isAssignableFrom(parameterTypes[index]) || !isParameterized(index)) {
                return null;
            }
            final ParameterizedClassDesc pcd = parameterizedClassDescs[index].getArguments()[0];
            if (pcd == null) {
                return null;
            }
            return pcd.getRawClass();
        }
    
        @Override
        public Class<?> getKeyClassOfMap(final int index) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/core/io/PropertiesUtilTest.java

            exception.expect(NullArgumentException.class);
            exception.expectMessage(is("[ECL0008]argument[props] is null."));
            final InputStream inputStream = ResourceUtil.getResourceAsStream("org/codelibs/core/io/test.properties");
            PropertiesUtil.load(null, inputStream);
        }
    
        /**
         * Test method for
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

        get() = methodInfo.getAttribute(SyntheticAttribute.tag) != null
    
    
    internal
    val MemberValue.intValue: Int
        get() {
            var value: Int? = null
            accept(object : MemberValueVisitorAdapter() {
                override fun visitIntegerMemberValue(node: IntegerMemberValue) {
                    value = node.value
                }
            })
            if (value == null) throw annotationMemberValueNotFound(typeOf<Int>())
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.6K bytes
    - Click Count (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/Session.java

         *
         * @param groupId the group identifier, or {@code null} is unspecified
         * @param artifactId the artifact identifier, or {@code null} is unspecified
         * @param version the artifact version, or {@code null} is unspecified
         * @param classifier the artifact classifier, or {@code null} is unspecified
         * @param extension the artifact extension, or {@code null} is unspecified
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jul 03 14:18:26 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/beans/util/CopyOptionsUtil.java

            return new CopyOptions().exclude(propertyNames);
        }
    
        /**
         * Returns a {@link CopyOptions} that excludes properties with {@literal null} values from the operation.
         *
         * @return A {@link CopyOptions} that excludes properties with {@literal null} values from the operation.
         * @see CopyOptions#excludeNull()
         */
        public static CopyOptions excludeNull() {
            return new CopyOptions().excludeNull();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/util/OptionalUtilTest.java

            // Test with null value
            String nullValue = null;
            OptionalEntity<String> emptyOptional = OptionalUtil.ofNullable(nullValue);
    
            assertFalse(emptyOptional.isPresent());
            assertEquals("default", emptyOptional.orElse("default"));
    
            // Test that empty optional returns null instead of throwing
            assertNull(emptyOptional.orElse(null));
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 13.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/base/StringsTest.java

            .isEqualTo("5 + 6 = 11");
        assertThat(Strings.lenientFormat("%s", null, null, null)).isEqualTo("null [null, null]");
        assertThat(Strings.lenientFormat(null, 5, 6)).isEqualTo("null [5, 6]");
        assertThat(Strings.lenientFormat("%s", (Object) null)).isEqualTo("null");
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testLenientFormat_nullArrayVarargs() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 11.4K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/auth/chain/LdapChainTest.java

        }
    
        @Test
        public void test_changePassword_withBothNull() {
            // Test password change with both null
            testLdapManager.changePasswordResult = false;
            testFessConfig.ldapAdminSyncPassword = false;
    
            boolean result = ldapChain.changePassword(null, null);
    
            assertTrue(result);
            assertNull(testLdapManager.changePasswordUsername);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/app/web/api/admin/scheduler/ApiAdminSchedulerActionTest.java

                    }
                    return null;
                }
    
                @Override
                public LaunchedProcess launchNow(final LaunchNowOpCall opLambda) {
                    if (withParamsCallback != null) {
                        return withParamsCallback.call(opLambda);
                    }
                    return null;
                }
            };
    
            final JobManager mockJobManager = new JobManager() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:55:54 GMT 2026
    - 13K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/entity/ChatSession.java

         */
        public void setMessages(final List<ChatMessage> messages) {
            synchronized (messagesLock) {
                if (messages == null) {
                    this.messages = null;
                } else if (messages instanceof CopyOnWriteArrayList) {
                    this.messages = messages;
                } else {
                    this.messages = new CopyOnWriteArrayList<>(messages);
                }
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
Back to Top