Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1321 - 1330 of 3,758 for null (0.04 sec)

  1. 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(@Nullable Foo defaultValue)` method that returns
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

              responseQueue.put(new Response(request.methodName, null, exception.getTargetException()));
              continue;
            } catch (Throwable throwable) {
              responseQueue.put(new Response(request.methodName, null, throwable));
              continue;
            }
            responseQueue.put(new Response(request.methodName, result, null));
          }
        } catch (ThreadDeath death) {
          return;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/reflect/Types.java

          @Nullable Type ownerType, Class<?> rawType, Type... arguments) {
        if (ownerType == null) {
          return newParameterizedType(rawType, arguments);
        }
        // ParameterizedTypeImpl constructor already checks, but we want to throw NPE before IAE
        checkNotNull(arguments);
        checkArgument(rawType.getEnclosingClass() != null, "Owner type for unenclosed %s", rawType);
        return new ParameterizedTypeImpl(ownerType, rawType, arguments);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

        assertEquals(Thread.State.TERMINATED, otherThread.getState());
        Throwable throwable = throwableFromOtherThread.get();
        assertNull(
            "Throwable from other thread: "
                + (throwable == null ? null : Throwables.getStackTraceAsString(throwable)),
            throwableFromOtherThread.get());
      }
    
      public void testDirectExecutorServiceInvokeAll() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 28K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/escape/ArrayBasedEscaperMapTest.java

      public void testNullMap() {
        assertThrows(NullPointerException.class, () -> ArrayBasedEscaperMap.create(null));
      }
    
      public void testEmptyMap() {
        Map<Character, String> map = ImmutableMap.of();
        ArrayBasedEscaperMap fem = ArrayBasedEscaperMap.create(map);
        // Non-null array of zero length.
        assertThat(fem.getReplacementArray()).isEmpty();
      }
    
      public void testMapLength() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Feb 18 15:41:04 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/CIFSContextCredentialWrapper.java

                final CredentialsInternal renewed = renewable.renew();
                if (renewed != null) {
                    this.creds = renewed;
                    return true;
                }
            }
            final NtlmAuthenticator auth = NtlmAuthenticator.getDefault();
            if (auth != null) {
                final NtlmPasswordAuthenticator newAuth =
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainManagerPrivate.java

    public interface ToolchainManagerPrivate {
    
        /**
         * Retrieves every toolchains of given type available in user settings.
         *
         * @param type the type, must not be {@code null}
         * @param context the Maven session, must not be {@code null}
         * @since 3.0 (addition of the <code>MavenSession</code> parameter)
         */
        ToolchainPrivate[] getToolchainsForType(String type, MavenSession context) throws MisconfiguredToolchainException;
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Feb 12 13:13:28 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java

         * @param message The detail message of the problem, may be {@code null}.
         * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
         * @param column The one-based index of the column containing the problem or {@code -1} if unknown.
         * @param cause The cause of the problem, may be {@code null}.
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbCopyUtil.java

                }
            }
    
            try (CloseableIterator<SmbResource> it = SmbEnumerationUtil.doEnum(src, "*",
                    SmbConstants.ATTR_DIRECTORY | SmbConstants.ATTR_HIDDEN | SmbConstants.ATTR_SYSTEM, null, null)) {
                while (it.hasNext()) {
                    try (SmbResource r = it.next()) {
                        try (SmbFile ndest = new SmbFile(dest, r.getLocator().getName(), true, r.getLocator().getType(), r.getAttributes(),
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java

            final String fieldName = item.getFieldName();
            final Charset encoding = Charset.forName(request.getCharacterEncoding());
            String value = null;
            boolean haveValue = false;
            if (encoding != null) {
                try {
                    value = item.getString(encoding);
                    haveValue = true;
                } catch (final Exception e) {}
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 18.6K bytes
    - Viewed (1)
Back to top