Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1141 - 1150 of 3,758 for null (0.02 sec)

  1. src/test/java/jcifs/CIFSExceptionTest.java

        }
    
        @Test
        @DisplayName("Should handle null message")
        void testNullMessage() {
            // When/Then
            assertDoesNotThrow(() -> {
                CIFSException exception = new CIFSException((String) null);
                assertNotNull(exception);
            });
        }
    
        @Test
        @DisplayName("Should handle null cause")
        void testNullCause() {
            // When/Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/helper/PathMappingHelperTest.java

            pathMappingHelper.setPathMappingList(sessionId, null);
            assertNull(pathMappingHelper.getPathMappingList(sessionId));
        }
    
        public void test_removePathMappingList_withNullSessionId() {
            pathMappingHelper.removePathMappingList(null);
        }
    
        public void test_getPathMappingList_withNullSessionId() {
            assertNull(pathMappingHelper.getPathMappingList(null));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 05:35:01 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

        Long n1 = 42L;
        Long n2 = MoreObjects.firstNonNull(null, n1);
        assertSame(n1, n2);
    
        Boolean b1 = true;
        Boolean b2 = MoreObjects.firstNonNull(b1, null);
        assertSame(b1, b2);
      }
    
      public void testFirstNonNull_throwsNullPointerException() {
        assertThrows(NullPointerException.class, () -> MoreObjects.firstNonNull(null, null));
      }
    
      // ToStringHelper's tests are in ToStringHelperTest
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

        assertThrows(NullPointerException.class, () -> throwIfUnchecked(null));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // propagateIfPossible
      // I guess it's technically a bug that ThrowIfUncheckedKnownUnchecked fires here.
      @SuppressWarnings("ThrowIfUncheckedKnownUnchecked")
      public void testPropageIfPossible_null() {
        propagateIfPossible(null);
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessMailDeliveryDepartmentCreatorTest.java

            }
        }
    
        // Test with null values
        public void test_nullValues() {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
                private static final long serialVersionUID = 1L;
    
                @Override
                public String getMailFromName() {
                    return null;
                }
    
                @Override
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployerRequest.java

            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .repository(requireNonNull(repository, "repository cannot be null"))
                    .artifacts(requireNonNull(artifacts, "artifacts cannot be null"))
                    .build();
        }
    
        class ArtifactDeployerRequestBuilder {
            Session session;
            RequestTrace trace;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactResolverRequest.java

            return builder()
                    .session(requireNonNull(session, "session cannot be null"))
                    .coordinates(requireNonNull(coordinates, "coordinates cannot be null"))
                    .build();
        }
    
        @Nonnull
        static ArtifactResolverRequest build(
                @Nonnull Session session,
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       C}, instance methods are skipped for nulls test.
       *   <li>Nulls test is not performed on method return values unless the method is a visible static
       *       factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing nulls, you can add an explicit
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/KeyMatchHelper.java

                        }
                        Map<String, List<Tuple3<String, QueryBuilder, ScoreFunctionBuilder<?>>>> queryMap = keyMatchQueryMap.get(virtualHost);
                        if (queryMap == null) {
                            queryMap = new HashMap<>();
                            keyMatchQueryMap.put(virtualHost, queryMap);
                        }
                        final String termKey = toLowerCase(keyMatch.getTerm());
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 10K bytes
    - Viewed (0)
  10. compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java

         *
         * @param file The file, must not be {@code null}.
         * @deprecated Use {@link #FileSource(Path)} instead.
         */
        @Deprecated
        public FileSource(File file) {
            this(Objects.requireNonNull(file, "file cannot be null").toPath());
        }
    
        /**
         * Creates a new source backed by the specified file.
         *
         * @param path The file, must not be {@code null}.
         * @since 4.0.0
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top