Search Options

Results per page
Sort
Preferred Languages
Advance

Results 871 - 880 of 3,432 for NULL (0.21 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableListTest.java

        ImmutableList.Builder<String> builder = ImmutableList.builder();
        assertThrows(NullPointerException.class, () -> builder.add((String) null));
    
        assertThrows(NullPointerException.class, () -> builder.add((String[]) null));
    
        assertThrows(NullPointerException.class, () -> builder.add("a", null, "b"));
      }
    
      public void testBuilderAddAllHandlesNullsCorrectly() {
        {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

            // Test constructor with null message
            GsaConfigException exception = new GsaConfigException(null);
    
            assertNotNull(exception);
            assertNull(exception.getMessage());
            assertNull(exception.getCause());
        }
    
        public void test_constructorWithNullMessageAndCause() {
            // 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.3K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/util/JobProcessTest.java

            JobProcess jobProcess = new JobProcess(mockProcess, 0, null);
    
            assertNotNull(jobProcess.getInputStreamThread());
        }
    
        public void test_constructor_withNullCallback() throws IOException {
            Process mockProcess = createMockProcess("test");
            JobProcess jobProcess = new JobProcess(mockProcess, 10, null);
    
            assertNotNull(jobProcess.getInputStreamThread());
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt

            .onRequestStart(CloseSocket())
            .build(),
        )
        val webSocket = newWebSocket()
        clientListener.assertFailure(
          101,
          null,
          ProtocolException::class.java,
          "Expected 'Connection' header value 'Upgrade' but was 'null'",
        )
        webSocket.cancel()
      }
    
      @Test
      @Throws(IOException::class)
      fun wrongConnectionHeader() {
        webServer.enqueue(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 35.5K bytes
    - Viewed (0)
  5. compat/maven-builder-support/src/main/java/org/apache/maven/building/Problem.java

         * value is undefined.
         *
         * @return The location of the problem, never {@code null}.
         */
        String getLocation();
    
        /**
         * Gets the exception that caused this problem (if any).
         *
         * @return The exception that caused this problem or {@code null} if not applicable.
         */
        Exception getException();
    
        /**
         * Gets the message that describes this problem.
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 15 18:51:29 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/AbstractVersionTransformation.java

            Metadata repoMetadata = metadata.getMetadata();
            String version = null;
            if (repoMetadata != null && repoMetadata.getVersioning() != null) {
                version = constructVersion(repoMetadata.getVersioning(), artifact.getBaseVersion());
            }
    
            if (version == null) {
                // use the local copy, or if it doesn't exist - go to the remote repo for it
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt

        if (cacheCandidate != null && cacheResponse == null) {
          // The cache candidate wasn't applicable. Close it.
          cacheCandidate.body.closeQuietly()
        }
    
        // If we're forbidden from using the network and the cache is insufficient, fail.
        if (networkRequest == null && cacheResponse == null) {
          return Response
            .Builder()
            .request(chain.request())
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsThumbnailQueue.java

            if (createdBy != null) {
                addFieldToSource(sourceMap, "createdBy", createdBy);
            }
            if (createdTime != null) {
                addFieldToSource(sourceMap, "createdTime", createdTime);
            }
            if (generator != null) {
                addFieldToSource(sourceMap, "generator", generator);
            }
            if (path != null) {
                addFieldToSource(sourceMap, "path", path);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/ResponseBodyTest.kt

    import okio.ByteString.Companion.encodeUtf8
    import okio.IOException
    import okio.Source
    import okio.buffer
    
    class ResponseBodyTest {
      @Test
      fun sourceEmpty() {
        val mediaType = if (null == null) null else "any/thing; charset=${null}".toMediaType()
        val body = "".decodeHex().toResponseBody(mediaType)
        val source = body.source()
        assertThat(source.exhausted()).isTrue()
        assertThat(source.readUtf8()).isEqualTo("")
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/spnego/SpnegoExceptionTest.java

            SpnegoException ex = new SpnegoException();
    
            // Then
            assertNotNull(ex, "Exception should be created");
            assertNull(ex.getMessage(), "Default message should be null");
            assertNull(ex.getCause(), "Default cause should be null");
            assertTrue(ex instanceof CIFSException, "Should be a CIFSException");
            assertTrue(ex instanceof IOException, "Should be an IOException");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top