Search Options

Results per page
Sort
Preferred Languages
Advance

Results 731 - 740 of 4,154 for nulls (0.02 sec)

  1. guava/src/com/google/common/reflect/TypeToInstanceMap.java

       *
       * <p>{@code putInstance(Foo.class, foo)} is equivalent to {@code
       * putInstance(TypeToken.of(Foo.class), foo)}.
       *
       * @return the value previously associated with this class (possibly {@code null}), or {@code
       *     null} if there was no previous entry.
       */
      @CanIgnoreReturnValue
      <T extends B> @Nullable T putInstance(Class<@NonNull T> type, @ParametricNullness T value);
    
      /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyJvmTest.kt

        assertThat(body.string()).isEqualTo(text)
      }
    
      companion object {
        @JvmOverloads
        fun body(
          hex: String,
          charset: String? = null,
        ): ResponseBody {
          val mediaType = if (charset == null) null else "any/thing; charset=$charset".toMediaType()
          return hex.decodeHex().toResponseBody(mediaType)
        }
    
        fun exhaust(reader: Reader): String {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

                        Arguments.of(null, null, "4.1.0", false, "Should disable plugins when only --model-version is set"),
                        Arguments.of(false, null, null, false, "Should disable plugins when --all=false"),
                        Arguments.of(null, null, null, true, "Should enable plugins by default when no options specified"));
            }
        }
    
        @Nested
        @DisplayName(".mvn Directory Creation")
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/util/InputValidator.java

         */
        public static void validateArrayBounds(byte[] src, int srcOffset, byte[] dst, int dstOffset, int length) {
            if (src == null || dst == null) {
                throw new IllegalArgumentException("Arrays cannot be null");
            }
            if (srcOffset < 0 || dstOffset < 0 || length < 0) {
                throw new IllegalArgumentException("Offsets and length must be non-negative");
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

        @Test
        @DisplayName("Constructor with open() returning null closes immediately and hasNext=false")
        void constructorOpenNullCloses() throws Exception {
            // Arrange
            stubAcquireReturnsSelf();
            List<FileEntry[]> pages = List.of(new FileEntry[][] { new FileEntry[] {} });
    
            // Create iterator where open() returns null by giving null initial
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/ClassUtil.java

                return null;
            }
        }
    
        /**
         * If the class is a primitive type, returns its wrapper class.
         *
         * @param className
         *            The class name. Must not be {@literal null} or empty.
         * @return {@link Class}
         * @throws EmptyArgumentException
         *             If the class name is {@literal null} or empty.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

      public void testToString_addValueWithNullValue() {
        String result =
            MoreObjects.toStringHelper(new TestClass())
                .addValue(null)
                .addValue("Hello")
                .addValue(null)
                .toString();
        String expected = "TestClass{null, Hello, null}";
    
        assertEquals(expected, result);
      }
    
      public void testToStringLenient_addValueWithNullValue() {
        String result =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/exentity/WebConfig.java

        protected CrawlerClientFactory crawlerClientFactory = null;
    
        public WebConfig() {
            setBoost(1.0f);
        }
    
        @Override
        public String getDocumentBoost() {
            return getBoost().toString();
        }
    
        @Override
        public String getIndexingTarget(final String input) {
            if (includedDocUrlPatterns == null || excludedDocUrlPatterns == null) {
                initDocUrlPattern();
            }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Mon Nov 24 02:07:40 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java

                                + repository.getId() + " (" + repository.getUrl() + ")");
            }
    
            if (file == null) {
                // TODO throw something instead?
                return true;
            }
    
            Date lastCheckDate = readLastUpdated(metadata, repository, file);
    
            return (lastCheckDate == null) || policy.checkOutOfDate(lastCheckDate);
        }
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Dec 16 13:41:14 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                session.getMavenSession().getAllProjects().stream()
                        .flatMap(this::getProjectArtifacts)
                        .filter(a -> Objects.equals(id, id(a)))
                        .forEach(a -> a.setFile(path != null ? path.toFile() : null));
            }
            if (path == null) {
                paths.remove(id);
            } else {
                paths.put(id, path);
            }
        }
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 16:01:38 UTC 2025
    - 4.4K bytes
    - Viewed (0)
Back to top