Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for nullTest (0.04 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/RuleTest.java

        }
    
        /**
         * Test Rule with null ResponseData
         */
        public void test_matchWithNullResponseData() {
            ConfigurableRule rule = new ConfigurableRule();
            rule.setRuleId("nullTest");
            rule.setResponseProcessor(new TestResponseProcessor("nullProcessor"));
    
            // Should handle null gracefully
            assertFalse(rule.match(null));
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 22.7K bytes
    - Viewed (0)
  2. guava/src/com/google/common/util/concurrent/NullnessCasts.java

    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/NullnessCasts.java

    @GwtCompatible
    final class NullnessCasts {
      /**
       * Accepts a {@code @Nullable T} and returns a plain {@code T}, without performing any check that
       * that conversion is safe.
       *
       * <p>This method is intended to help with usages of type parameters that have {@linkplain
       * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 13 20:49:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. .idea/misc.xml

              <item index="10" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableDecl" />
              <item index="11" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.compatqual.NullableType" />
              <item index="12" class="java.lang.String" itemvalue="org.checkerframework.checker.nullness.qual.Nullable" />
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Mon Aug 11 17:25:01 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/util/SearchEngineUtilTest.java

                if (builder == null) {
                    throw new IOException("Builder is null");
                }
                builder.startObject();
                builder.field("null_test", "value");
                builder.endObject();
                return builder;
            };
    
            // This should handle any IOException gracefully
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * @throws NullPointerException if the first element is null; if this is a possibility, use {@code
       *     iterator().next()} or {@link Iterables#getFirst} instead.
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> first() {
        Iterator<E> iterator = getDelegate().iterator();
        return iterator.hasNext() ? Optional.of(iterator.next()) : Optional.absent();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/FluentIterable.java

       *
       * @throws NullPointerException if the first element is null; if this is a possibility, use {@code
       *     iterator().next()} or {@link Iterables#getFirst} instead.
       */
      @SuppressWarnings("nullness") // Unsafe, but we can't do much about it now.
      public final Optional<@NonNull E> first() {
        Iterator<E> iterator = getDelegate().iterator();
        return iterator.hasNext() ? Optional.of(iterator.next()) : Optional.absent();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 34.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

      }
    
      public void testCallableStartsAfterFirstFutureCompletes() {
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError = serializer.submitAsync(firstCallable, directExecutor());
        TestCallable secondCallable = new TestCallable(Futures.<Void>immediateFuture(null));
        @SuppressWarnings({"unused", "nullness"})
        Future<?> possiblyIgnoredError1 = serializer.submitAsync(secondCallable, directExecutor());
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Platform.java

        return Arrays.copyOf(empty, length);
      }
    
      /** Equivalent to Arrays.copyOfRange(source, from, to, arrayOfType.getClass()). */
      /*
       * Arrays are a mess from a nullness perspective, and Class instances for object-array types are
       * even worse. For now, we just suppress and move on with our lives.
       *
       * - https://github.com/jspecify/jspecify/issues/65
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/EnumMultiset.java

      @Override
      public int size() {
        return Ints.saturatedCast(size);
      }
    
      @Override
      public int count(@Nullable Object element) {
        // isActuallyE checks for null, but we check explicitly to help nullness checkers.
        if (element == null || !isActuallyE(element)) {
          return 0;
        }
        Enum<?> e = (Enum<?>) element;
        return counts[e.ordinal()];
      }
    
      // Modification Operations
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 9.3K bytes
    - Viewed (0)
Back to top