Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1231 - 1240 of 4,015 for null (0.03 sec)

  1. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

            prepareUnmodifiableTests(HashMultimap.<String, Integer>create(), false, null, null);
        SerializableTester.reserializeAndAssert(unmodifiable);
      }
    
      @GwtIncompatible // slow (~10s)
      public void testUnmodifiableTreeMultimap() {
        checkUnmodifiableMultimap(TreeMultimap.<String, Integer>create(), false, "null", 42);
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapReplaceEntryTester.java

        assertThrows(NullPointerException.class, () -> getMap().replace(k0(), v0(), null));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_wrongValueNullValueUnsupported() {
        try {
          assertFalse(getMap().replace(k0(), v3(), null));
        } catch (NullPointerException tolerated) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/helper/PopularWordHelper.java

                final String[] fields, final String[] excludes) {
            final String baseSeed = seed != null ? seed : fessConfig.getSuggestPopularWordSeed();
            final String[] baseTags = tags != null ? tags : fessConfig.getSuggestPopularWordTagsAsArray();
            final String[] baseRoles = roles != null ? roles
                    : ComponentUtil.getRoleQueryHelper().build(searchRequestType).stream().filter(StringUtil::isNotBlank)
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapReplaceEntryTester.java

        assertThrows(NullPointerException.class, () -> getMap().replace(k0(), v0(), null));
        expectUnchanged();
      }
    
      @MapFeature.Require(value = SUPPORTS_PUT, absent = ALLOWS_NULL_VALUE_QUERIES)
      @CollectionSize.Require(absent = ZERO)
      public void testReplaceEntry_wrongValueNullValueUnsupported() {
        try {
          assertFalse(getMap().replace(k0(), v3(), null));
        } catch (NullPointerException tolerated) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java

        @Test
        void testIsActiveNoFileWithShortBasedir() {
            assertActivation(false, newExistsProfile(null), context);
            assertActivation(false, newExistsProfile("someFile.txt"), context);
            assertActivation(false, newExistsProfile("${basedir}/someFile.txt"), context);
    
            assertActivation(false, newMissingProfile(null), context);
            assertActivation(true, newMissingProfile("someFile.txt"), context);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/resolution/InvalidRepositoryException.java

         */
        private Repository repository;
    
        /**
         * Creates a new exception with specified detail message and cause for the given repository.
         *
         * @param message The detail message, may be {@code null}.
         * @param repository The repository that caused the error, may be {@code null}.
         * @param cause The cause, may be {@code null}.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/sso/SsoManager.java

                if (authenticator != null) {
                    return authenticator.getLoginCredential();
                }
            }
            return null;
        }
    
        public ActionResponse getResponse(final SsoResponseType responseType) {
            if (available()) {
                final SsoAuthenticator authenticator = getAuthenticator();
                if (authenticator != null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultisetSetCountTester.java

      public void testSetCount_addNull_nullSupported() {
        assertSetCount(null, 1);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testSetCount_addNull_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> setCountNoCheckReturnValue(null, 1));
      }
    
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/InterruptibleTask.java

         * allowing the CAS below to succeed.
         */
        Thread currentThread = Thread.currentThread();
        if (!compareAndSet(null, currentThread)) {
          return; // someone else has run or is running.
        }
    
        boolean run = !isDone();
        T result = null;
        Throwable error = null;
        try {
          if (run) {
            result = runInterruptibly();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

        /*
         * Even though it's weird to pass a defaultValue that is null, some callers do so. Those who
         * pass a literal "null" should probably just use `get`, but I would expect other callers to
         * pass an expression that *might* be null. This could happen with:
         *
         * - a `getFooOrDefault(@CheckForNull Foo defaultValue)` method that returns
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
Back to top