Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1201 - 1210 of 3,432 for NULL (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

       * the call to {@code contains(null)} is permitted to throw a {@code NullPointerException}.
       *
       * @param message message to use upon assertion failure
       */
      protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) {
        try {
          assertFalse(message, getMap().containsKey(null));
        } catch (NullPointerException tolerated) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 18 02:54:30 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt

          @JvmStatic
          fun create(body: RequestBody): Part = create(null, body)
    
          @JvmStatic
          fun create(
            headers: Headers?,
            body: RequestBody,
          ): Part {
            require(headers?.get("Content-Type") == null) { "Unexpected header: Content-Type" }
            require(headers?.get("Content-Length") == null) { "Unexpected header: Content-Length" }
            return Part(headers, body)
          }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            assertNotNull(readings);
            assertTrue(readings.isEmpty());
        }
    
        @Test
        public void testConvertWithNullText() throws IOException {
            // Test convert with null text
            converter.init();
            String text = null;
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
            assertNotNull(readings);
            assertTrue(readings.isEmpty());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  4. guava-gwt/src-super/com/google/common/base/super/com/google/common/base/Platform.native.js

    /**
     * @param {?string} str
     * @return {boolean} Whether the given string is null or is the empty string.
     * @public
     */
    Platform.stringIsNullOrEmpty = function(str) {
      return !str;
    };
    
    
    /**
     * @param {?string} str
     * @return {string} Original str, if it is non-null. Otherwise empty string.
     */
    Platform.nullToEmpty = function(str) {
      return str || "";
    };
    
    
    /**
     * @param {?string} str
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Mar 25 14:03:03 UTC 2020
    - 527 bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerContextTest.java

            assertEquals("http://test.com/sitemap.xml", removedSitemaps[1]);
    
            // Should be null after removal
            assertNull(crawlerContext.removeSitemaps());
    
            // Test with null
            crawlerContext.addSitemaps(null);
            assertNull(crawlerContext.removeSitemaps());
    
            // Test with empty array
            crawlerContext.addSitemaps(new String[0]);
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 25.6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/suggest/settings/ArraySettings.java

                }
    
                Arrays.sort(array, (o1, o2) -> {
                    if (o1 == null && o2 == null) {
                        return 0;
                    }
                    if (o1 == null) {
                        return -1;
                    }
                    if (o2 == null) {
                        return 1;
                    }
    
                    final Object timeObj1 = o1.get(FieldNames.TIMESTAMP);
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. fess-crawler/src/test/java/org/codelibs/fess/crawler/pool/CrawlerPooledObjectFactoryTest.java

            assertNotSame(component, component2);
        }
    
        /**
         * Test creation with null component name
         */
        public void test_create_nullComponentName() {
            factory.setComponentName(null);
    
            try {
                factory.create();
                fail("Should throw exception for null component name");
            } catch (Exception e) {
                // Expected behavior
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java

            }
    
            // populate the configuration section
            Xpp3Dom dom = (Xpp3Dom) model.getConfiguration();
            Xpp3Dom javahome = dom != null ? dom.getChild(JavaToolchainImpl.KEY_JAVAHOME) : null;
            if (javahome == null) {
                throw new MisconfiguredToolchainException(
                        "Java toolchain without the " + JavaToolchainImpl.KEY_JAVAHOME + " configuration element.");
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/ArtifactResolutionRequest.java

        public List<Server> getServers() {
            if (servers == null) {
                servers = new ArrayList<>();
            }
    
            return servers;
        }
    
        public ArtifactResolutionRequest setMirrors(List<Mirror> mirrors) {
            this.mirrors = mirrors;
    
            return this;
        }
    
        public List<Mirror> getMirrors() {
            if (mirrors == null) {
                mirrors = new ArrayList<>();
            }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  10. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

          when (val protocol = sslSocket.applicationProtocol) {
            null, "" -> null
            else -> protocol
          }
        } catch (e: UnsupportedOperationException) {
          // https://docs.oracle.com/javase/9/docs/api/javax/net/ssl/SSLSocket.html#getApplicationProtocol--
          null
        }
    
      @SuppressLint("NewApi")
      override fun configureTlsExtensions(
        sslSocket: SSLSocket,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top