- Sort Score
- Result 10 results
- Languages All
Results 1361 - 1370 of 3,758 for null (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/util/TextUtilTest.java
/** * @author shinsuke * @author kaorufuzita */ public class TextUtilTest extends PlainTestCase { public void test_getContent() { assertEquals("", normalizeText((String) null, 100, -1, -1, false)); assertEquals("", normalizeText("", 100, -1, -1, false)); assertEquals("", normalizeText(" ", 100, -1, -1, false)); assertEquals("", normalizeText(" ", 100, -1, -1, false));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 8.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt
*/ @JvmOverloads fun charset(defaultValue: Charset? = null): Charset? { val charset = parameter("charset") ?: return defaultValue return try { Charset.forName(charset) } catch (_: IllegalArgumentException) { defaultValue // This charset is invalid or unsupported. Give up. } } /** * Returns the parameter [name] of this media type, or null if this media type does not define * such a parameter.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:08 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapComputeTester.java
public void testCompute_absentToAbsent() { assertNull( "Map.compute(absent, functionReturningNull) should return null", getMap() .compute( k3(), (k, v) -> { assertEquals(k3(), k); assertNull(v); return null; })); expectUnchanged(); assertEquals(getNumElements(), getMap().size()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Oct 31 14:51:04 UTC 2024 - 7.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* a "null sentinel" to take its place. When the time comes to convert it back to a {@code T} to * return to a caller, the code needs to a way to return {@code null} from a method that returns * "plain {@code T}." This API provides that. */ @SuppressWarnings({"nullness", "TypeParameterUnusedInFormals", "ReturnMissingNullable"})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java
DeferredFileOutputStream dfos = null; try (DeferredFileOutputStream out = new DeferredFileOutputStream(cacheFileSize, "fess-extractor-", ".out", null)) { dfos = out; CopyUtil.copy(in, out); out.flush(); Extractor extractor = StringUtil.isBlank(mimeType) ? null : extractorFactory.getExtractor(mimeType); if (extractor == null) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/CurlHelperTest.java
return null; } } private SSLSocketFactory getSSLSocketFactory(CurlHelper curlHelper) { try { Field field = CurlHelper.class.getDeclaredField("sslSocketFactory"); field.setAccessible(true); return (SSLSocketFactory) field.get(curlHelper); } catch (Exception e) { return null; } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 10.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
} @Test @DisplayName("Should handle null root cause") void testConstructorWithNullRootCause() { TransportException exception = new TransportException((Throwable) null); assertNotNull(exception); assertNull(exception.getRootCause()); } @Test @DisplayName("Should handle null message with root cause")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/entity/SuggestItem.java
this.text = String.join(SuggestConstants.TEXT_SEPARATOR, text); this.readings = readings; this.fields = fields != null ? fields : new String[] {}; this.tags = tags != null ? tags : new String[] {}; if (roles == null || roles.length == 0) { this.roles = new String[] { SuggestConstants.DEFAULT_ROLE }; } else { this.roles = new String[roles.length];
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 25.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
@Test public void testContaines() throws Exception { assertThat(list.contains(null), is(not(true))); assertThat(list.contains("1"), is(not(true))); list.addLast("1"); assertThat(list.contains("1"), is(true)); assertThat(list.contains("2"), is(not(true))); assertThat(list.contains(null), is(not(true))); } /** * @throws Exception */ @Test
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/UserInfoHelperTest.java
userInfoHelper.setCookieSecure(null); MockletHttpServletRequest request = getMockRequest(); request.addHeader("X-Forwarded-Proto", "https"); assertTrue(userInfoHelper.isSecureCookie()); } public void test_isSecureCookie_noRequest() { UserInfoHelper userInfoHelper = new UserInfoHelper(); userInfoHelper.setCookieSecure(null);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 10 13:41:04 UTC 2025 - 12.5K bytes - Viewed (0)