Search Options

Results per page
Sort
Preferred Languages
Advance

Results 841 - 850 of 3,735 for Null (0.02 sec)

  1. src/main/java/org/codelibs/fess/opensearch/user/allcommon/EsAbstractEntity.java

        }
    
        public void myspecifyPropertyCancel(String propertyName) {
            if (__specifiedProperties != null) {
                __specifiedProperties.remove(propertyName);
            }
        }
    
        public void clearSpecifiedInfo() {
            if (__specifiedProperties != null) {
                __specifiedProperties.clear();
            }
        }
    
        protected void checkSpecifiedProperty(String propertyName) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/testers/QueueOfferTester.java

      public void testOffer_nullSupported() {
        assertTrue("offer(null) should return true", getQueue().offer(null));
        expectAdded((E) null);
      }
    
      @CollectionFeature.Require(value = SUPPORTS_ADD, absent = ALLOWS_NULL_VALUES)
      public void testOffer_nullUnsupported() {
        assertThrows(NullPointerException.class, () -> getQueue().offer(null));
        expectUnchanged();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test all read methods with null buffer")
        void testReadMethodsWithNullBuffer() {
            // Even with null buffer, methods should return 0 without throwing exception
            int result = response.readSetupWireFormat(null, 0, 0);
            assertEquals(0, result);
    
            result = response.readParametersWireFormat(null, 0, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

        val sentRequestMillis = System.currentTimeMillis()
    
        var invokeStartEvent = true
        var responseBuilder: Response.Builder? = null
        var sendRequestException: IOException? = null
        val hasRequestBody = HttpMethod.permitsRequestBody(request.method) && requestBody != null
        val isUpgradeRequest =
          !hasRequestBody &&
            "upgrade".equals(request.header("Connection"), ignoreCase = true)
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 22:04:11 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/util/Strings.java

         *
         * @param str the string to encode
         * @param encoding the character encoding to use
         * @return encoded byte array, or empty array if str is null
         */
        public static byte[] getBytes(final String str, final Charset encoding) {
            if (str == null) {
                return new byte[0];
            }
            return str.getBytes(encoding);
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/pac/PACDecodingExceptionTest.java

    class PACDecodingExceptionTest {
    
        /**
         * Test the default constructor.
         */
        @Test
        void testDefaultConstructor() {
            PACDecodingException e = new PACDecodingException();
            // Expect null message and null cause
            assertNull(e.getMessage());
            assertNull(e.getCause());
        }
    
        /**
         * Test the constructor with a message.
         */
        @Test
        void testMessageConstructor() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

      fun assertClose() {
        nextEvent() as Closed
      }
    
      fun assertFailure(
        message: String?,
        code: Int? = null,
      ) {
        val event = nextEvent() as Failure
        if (code != null) {
          assertThat(event.response?.code).isEqualTo(code)
        }
        if (message != null) {
          assertThat(event.message).isEqualTo(message)
        } else {
          assertThat(event.t).isNull()
        }
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  9. api/maven-api-core/src/test/java/org/apache/maven/api/services/RequestTraceTest.java

        }
    
        @Test
        void testNullValues() {
            RequestTrace trace = new RequestTrace(null, null, null);
            assertNull(trace.context());
            assertNull(trace.parent());
            assertNull(trace.data());
        }
    
        @Test
        void testChainedTraces() {
            RequestTrace root = new RequestTrace("root", null, "root-data");
            RequestTrace level1 = new RequestTrace("level1", root, "level1-data");
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactFactory.java

        /**
         * Creates an artifact.
         *
         * @param request the request holding artifact creation parameters
         * @return an {@code Artifact}, never {@code null}
         * @throws IllegalArgumentException if {@code request} is null or {@code request.session} is null or invalid
         */
        @Nonnull
        Artifact create(@Nonnull ArtifactFactoryRequest request);
    
        @Nonnull
        default Artifact create(
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Tue Aug 27 21:13:34 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top