Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1481 - 1490 of 4,689 for nulls (0.02 seconds)

  1. android/guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

       * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call
       * to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullMissingWhenNullUnsupported(String message) {
        try {
          assertFalse(message, actualContents().contains(null));
        } catch (NullPointerException tolerated) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  2. guava-testlib/src/com/google/common/collect/testing/AbstractCollectionTester.java

       * Equivalent to {@link #expectMissing(Object[]) expectMissing}{@code (null)} except that the call
       * to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullMissingWhenNullUnsupported(String message) {
        try {
          assertFalse(message, actualContents().contains(null));
        } catch (NullPointerException tolerated) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 18 02:54:30 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/SmbTreeHandleImpl.java

        protected void finalize() throws Throwable {
            try {
                // Add null check to prevent NPE if object was not fully constructed
                if (this.usageCount != null && this.usageCount.get() != 0) {
                    log.warn("Tree handle was not properly released, performing emergency cleanup: "
                            + (this.resourceLoc != null ? this.resourceLoc.getURL() : "unknown"));
                    emergencyReleaseHandle();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/collect/FluentIterableTest.java

        Iterable<String> set = newHashSet("a", null, "b");
        assertTrue(FluentIterable.from(set).contains(null));
      }
    
      public void testContains_nullSetNo() {
        Iterable<String> set = ImmutableSortedSet.of("a", "b");
        assertFalse(FluentIterable.from(set).contains(null));
      }
    
      public void testContains_nullIterableYes() {
        Iterable<String> iterable = iterable("a", null, "b");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 31.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/script/groovy/GroovyEngineTest.java

        }
    
        // ===== Null-Safety Tests =====
    
        /**
         * Test that evaluate returns null for null template
         */
        @Test
        public void test_evaluate_nullTemplate() {
            final Map<String, Object> params = new HashMap<>();
            params.put("test", "value");
            assertNull(groovyEngine.evaluate(null, params));
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:03:38 GMT 2026
    - 29.1K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

               * can be used with collections that may contain null. This collection is a collection of
               * non-null Entry objects (Entry objects that might contain null values but are not
               * themselves null), so we can treat it as a plain `Object[]`.
               */
              @SuppressWarnings("nullness")
              Object[] result = standardToArray();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/escape/UnicodeEscaperTest.java

              return null;
            }
          };
    
      // Escapes everything except [a-zA-Z0-9]
      private static final UnicodeEscaper SIMPLE_ESCAPER =
          new UnicodeEscaper() {
            @Override
            protected char @Nullable [] escape(int cp) {
              return ('a' <= cp && cp <= 'z') || ('A' <= cp && cp <= 'Z') || ('0' <= cp && cp <= '9')
                  ? null
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 6K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java

         */
        private final Smb2LeaseKey leaseKey;
    
        /**
         * Flag indicating whether this handle is currently being reconnected
         */
        private volatile boolean reconnecting;
    
        // Not serialized - will be null after deserialization
        private transient Object file; // Reference to SmbFile (avoid circular dependencies)
    
        /**
         * Create new handle information
         * @param path the file path
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 02:21:31 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

        }
    
        /**
         * @return Required active profile identifiers, never {@code null}.
         */
        public Set<String> getRequiredActiveProfileIds() {
            return getProfileIds(pa -> !pa.optional() && pa.active());
        }
    
        /**
         * @return Optional active profile identifiers, never {@code null}.
         */
        public Set<String> getOptionalActiveProfileIds() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 11 16:38:19 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/TypeResolver.java

            }
            ParameterizedType toParameterizedType = expectArgument(ParameterizedType.class, to);
            if (fromParameterizedType.getOwnerType() != null
                && toParameterizedType.getOwnerType() != null) {
              populateTypeMappings(
                  mappings, fromParameterizedType.getOwnerType(), toParameterizedType.getOwnerType());
            }
            checkArgument(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
Back to Top