Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for nullTest (0.04 sec)

  1. .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 Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Dec 19 15:00:20 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/suggest/util/SuggestUtilTest.java

            assertNotNull(analyzer);
        }
    
        @Test
        public void testGetAsList() {
            // Test with null
            List<String> nullList = SuggestUtil.getAsList(null);
            assertNotNull(nullList);
            assertEquals(0, nullList.size());
    
            // Test with String
            List<String> stringList = SuggestUtil.getAsList("test");
            assertNotNull(stringList);
    Registered: Sat Dec 20 13:04:59 UTC 2025
    - Last Modified: Mon Nov 24 03:40:05 UTC 2025
    - 26.7K bytes
    - Viewed (0)
  3. architecture/standards/0008-use-nullaway.md

    # ADR-0008 - Use NullAway for null checking
    
    ## Date
    
    2025-08-06
    
    ## Context
    
    Our codebase uses `null` extensively to represent an absence of value or optionality of the argument.
    We utilize nullness annotations in Java code and somewhat rely on IDE warnings to guide us.
    However, the Java code we have is not fully annotated, which causes several consequences:
    * IDE warnings can be misleading
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Dec 11 10:24:40 UTC 2025
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * but we know that our values will never be `null`.
       */
    
      @Override
      public Object[] toArray() {
        return snapshotElementsToList().toArray();
      }
    
      @Override
      @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
      public <T extends @Nullable Object> T[] toArray(T[] array) {
        return snapshotElementsToList().toArray(array);
      }
    
      /*
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Dec 08 22:42:14 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/graph/StandardValueGraph.java

        GraphConnections<N, V> connectionsU = nodeConnections.get(nodeU);
        V value = (connectionsU == null) ? null : connectionsU.value(nodeV);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (value == null) {
          return defaultValue;
        } else {
          return value;
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Maps.java

           * overrides, so we declare `@Nullable Object[]` as the return type.
           */
          return standardToArray();
        }
    
        @Override
        @SuppressWarnings("nullness") // b/192354773 in our checker affects toArray declarations
        public <T extends @Nullable Object> T[] toArray(T[] array) {
          return standardToArray(array);
        }
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 163.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Streams.java

            this.value = value;
          }
    
          T get() {
            /*
             * requireNonNull is safe because we call get() only if we've previously called set().
             *
             * (For further discussion of nullness, see the comment above the method.)
             */
            return requireNonNull(value);
          }
        }
        OptionalState state = new OptionalState();
    
        Deque<Spliterator<T>> splits = new ArrayDeque<>();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 21 15:40:45 UTC 2025
    - 36.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableSet.java

            default:
              /*
               * The suppression is safe because we ensure that the first `distinct` elements have been
               * populated.
               */
              @SuppressWarnings("nullness")
              Object[] elements =
                  (distinct == dedupedElements.length)
                      ? dedupedElements
                      : Arrays.copyOf(dedupedElements, distinct);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Nov 07 16:09:47 UTC 2025
    - 35.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/ImmutableList.java

          default:
            /*
             * The suppression is safe because the callers promise to put non-null objects in the first
             * `length` array elements.
             */
            @SuppressWarnings("nullness")
            Object[] elementsWithoutTrailingNulls =
                length < elements.length ? Arrays.copyOf(elements, length) : elements;
            return new RegularImmutableList<>(elementsWithoutTrailingNulls);
        }
      }
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
Back to top