Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 851 - 860 of 3,782 for nulls (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java

            try {
                // Test null vs null
                assertTrue(auth1.equals(new NtlmPasswordAuthenticator("domain", "user", (String) null)));
    
                // Test null vs empty
                assertFalse(auth1.equals(auth2));
    
                // Test null vs password
                assertFalse(auth1.equals(auth3));
    
                // Test empty vs password
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/suggest/SuggesterResourceLoadingTest.java

        /**
         * Test that try-with-resources handles null InputStream correctly.
         * Verifies that null InputStream doesn't cause NullPointerException during close.
         */
        @Test
        public void testTryWithResources_nullInputStreamSafety() {
            // This test demonstrates that try-with-resources handles null safely
            try (InputStream is = null) {
                if (is == null) {
                    throw new IOException("Resource is null");
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Mon Nov 24 03:40:05 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/util/concurrent/ExecutionSequencer.java

            while ((queuedTask = executingTaskQueue.nextTask) != null
                && (queuedExecutor = executingTaskQueue.nextExecutor) != null) {
              executingTaskQueue.nextTask = null;
              executingTaskQueue.nextExecutor = null;
              queuedExecutor.execute(queuedTask);
            }
          } finally {
            // Null out the thread field, so that we don't leak a reference to Thread, and so that
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 01:35:55 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/core/message/MessageFormatter.java

         */
        protected static String getPattern(final String messageCode) {
            if (isEmpty(messageCode)) {
                return null;
            }
            final ResourceBundle resourceBundle = getResourceBundle(getSystemName(messageCode));
            if (resourceBundle == null) {
                return null;
            }
    
            final int length = messageCode.length();
            if (length > CODE_NUMBER_LENGTH) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/NtlmAuthenticator.java

         * If this method returns <code>null</code> the <code>SmbAuthException</code> that triggered the authenticator check will
         * simply be rethrown. The default implementation returns <code>null</code>.
         * @return the authentication credentials or null if none available
         */
        protected NtlmPasswordAuthenticator getNtlmPasswordAuthentication() {
            return null;
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        assertThrows(NullPointerException.class, () -> builder.add((String) null));
      }
    
      public void testBuilderAddAllHandlesNullsCorrectly() {
        {
          ImmutableSortedMultiset.Builder<String> builder = ImmutableSortedMultiset.naturalOrder();
          assertThrows(NullPointerException.class, () -> builder.addAll((Collection<String>) null));
        }
    
        {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       */
    
      /**
       * Creates a new instance with {@code null} as its detail message and no cause.
       *
       * @deprecated Prefer {@linkplain ExecutionError(Error)} a constructor that accepts a cause: Users
       *     of this class typically expect for instances to have a non-null cause. At the moment, you
       *     can <i>usually</i> still preserve behavior by passing an explicit {@code null} cause. Note,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 13 17:34:21 GMT 2025
    - 4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

         */
        public static String toString(final Number value, final String pattern) {
            if (value != null) {
                if (pattern != null) {
                    return new DecimalFormat(pattern).format(value);
                }
                return value.toString();
            }
            return null;
        }
    
        /**
         * Converts the given object to a string.
         *
         * @param value
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  9. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

            }
        }
    
        public void doCloseContainer() throws Exception {
            if (containerCapsule != null) {
                try {
                    containerCapsule.close();
                } finally {
                    eventSpyDispatcher = null;
                    lookup = null;
                    containerCapsule = null;
                }
            }
        }
    
        public Options options() {
            return options;
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. build-conventions/src/main/java/org/elasticsearch/gradle/internal/conventions/util/Util.java

         */
        @Nullable
        public static FileTree getJavaMainSourceResources(Project project, Action<? super PatternFilterable> filter) {
            final Optional<FileTree> mainFileTree = getJavaMainSourceSet(project).map(SourceSet::getResources).map(FileTree::getAsFileTree);
            return mainFileTree.map(files -> files.matching(filter)).orElse(null);
        }
    
        /**
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jul 27 15:18:50 GMT 2021
    - 5.1K bytes
    - Click Count (0)
Back to Top