Search Options

Results per page
Sort
Preferred Languages
Advance

Results 531 - 540 of 3,758 for null (0.02 sec)

  1. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

            // Test constructor with null message
            PluginException exception = new PluginException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructor_withNullMessageAndCause() {
            // Test constructor with null message and null cause
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/AbstractTableTest.java

        assertThrows(NullPointerException.class, () -> table.put(null, 2, cellValue('d')));
        assertThrows(NullPointerException.class, () -> table.put("cat", null, cellValue('d')));
        if (supportsNullValues()) {
          assertNull(table.put("cat", 2, null));
          assertTrue(table.contains("cat", 2));
        } else {
          assertThrows(NullPointerException.class, () -> table.put("cat", 2, null));
        }
        assertSize(3);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

        public void test_add_nullEngine() {
            try {
                scriptEngineFactory.add("test", null);
                fail("Should throw IllegalArgumentException for null engine");
            } catch (IllegalArgumentException e) {
                assertEquals("name or scriptEngine is null.", e.getMessage());
            }
        }
    
        // Test add method with both null parameters
        public void test_add_bothNull() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java

             *
             * @param dependencies the direct dependencies, may be {@code null}
             * @return this request for chaining, never {@code null}
             */
            @Nonnull
            public DependencyResolverRequestBuilder dependencies(@Nullable List<DependencyCoordinates> dependencies) {
                this.dependencies = (dependencies != null) ? dependencies : Collections.emptyList();
                return this;
            }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Feb 07 00:45:02 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/escape/CharEscaper.java

       * @throws NullPointerException if {@code string} is null
       */
      @Override
      public String escape(String string) {
        checkNotNull(string); // GWT specific check (do not optimize)
        // Inlineable fast-path loop which hands off to escapeSlow() only if needed
        int length = string.length();
        for (int index = 0; index < length; index++) {
          if (escape(string.charAt(index)) != null) {
            return escapeSlow(string, index);
          }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

    @J2ktIncompatible
    @GwtIncompatible
    public final class ThreadFactoryBuilder {
      private @Nullable String nameFormat = null;
      private @Nullable Boolean daemon = null;
      private @Nullable Integer priority = null;
      private @Nullable UncaughtExceptionHandler uncaughtExceptionHandler = null;
      private @Nullable ThreadFactory backingThreadFactory = null;
    
      /**
       * Creates a new {@link ThreadFactory} builder.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            srvsvc.ShareInfo0 shareInfo0 = new srvsvc.ShareInfo0();
            shareInfo0.netname = null;
    
            shareInfo0.encode(mockNdrBuffer);
    
            // Verify the encode operations
            verify(mockNdrBuffer).align(4);
            verify(mockNdrBuffer).enc_ndr_referent(null, 1);
            // Should not encode string if netname is null
            verify(mockDeferredBuffer, never()).enc_ndr_string(anyString());
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/DfsImpl.java

            if (tf.getConfig().isDfsDisabled() || tf.getCredentials().getUserDomain() == null
                    || tf.getCredentials().getUserDomain().isEmpty()) {
                return null;
            }
    
            if (this._domains != null && System.currentTimeMillis() > this._domains.expiration) {
                this._domains = null;
            }
            if (this._domains != null) {
                return this._domains.map;
            }
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

        /**
         * Get existing handle data for reconnection
         * @param path the file path
         * @return the file ID if available, null otherwise
         */
        public byte[] getExistingHandle(String path) {
            HandleInfo info = getHandleForReconnect(path);
            return info != null ? info.getFileId() : null;
        }
    
        /**
         * Store handle information after successful create
         * @param path the file path
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

            }).toArray(n -> new String[n]));
            final ProcessBuilder pb = new ProcessBuilder(cmds);
            if (workingDirectory != null) {
                pb.directory(workingDirectory);
            }
            pb.redirectErrorStream(true);
    
            Process currentProcess = null;
            MonitorThread mt = null;
            try {
                currentProcess = pb.start();
    
                // monitoring
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top