- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 103 for isNotEmpty (0.06 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt
taskRunner = taskRunner, maxIdleConnections = 2, ) factory.newConnection(pool, routeA1) // Racy causing flaky tests // assertThat(taskRunner.activeQueues()).isNotEmpty() assertThat(taskRunnerThreads).isNotEmpty() Thread.sleep(100) for (t in taskRunnerThreads) { t.interrupt() } Thread.sleep(100) assertThat(taskRunner.activeQueues()).isEmpty() }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Oct 07 21:55:03 UTC 2025 - 8.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
if (file == null) { return false; } String path; boolean missing; if (StringUtils.isNotEmpty(file.getExists())) { path = file.getExists(); missing = false; } else if (StringUtils.isNotEmpty(file.getMissing())) { path = file.getMissing(); missing = true; } else { return false; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/ArrayUtil.java
* @param arrays * the array * @return {@literal true} if the array is not {@literal null} and its length is not 0 */ public static <T> boolean isNotEmpty(final T[] arrays) { return arrays != null && arrays.length != 0; } /** * Returns {@literal true} if the array is {@literal null} or has a length of 0. * * @param arraysRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 41.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
if (sysValue == null) { sysValue = context.getSystemProperties().get(name); } String propValue = property.getValue(); if (StringUtils.isNotEmpty(propValue)) { boolean reverseValue = false; if (propValue.startsWith("!")) { reverseValue = true; propValue = propValue.substring(1); }
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 3.8K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt
} in 8..9 -> { id = source.readUtf8LineStrict().takeIf { it.isNotEmpty() } } in 10..12 -> { id = null // 'id' on a line of its own. } in 13..14 -> { type = source.readUtf8LineStrict().takeIf { it.isNotEmpty() } } in 15..17 -> { type = null // 'event' on a line of its own }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 07:51:20 UTC 2025 - 4.3K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/PasswordBasedExtractor.java
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 5.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/lang/StringUtilTest.java
} /** * */ @Test public void testIsNotEmpty() { assertFalse(StringUtil.isNotEmpty(null)); assertFalse(StringUtil.isNotEmpty("")); assertTrue(StringUtil.isNotEmpty(" ")); } /** * */ @Test public void testDefaultString() { assertThat(StringUtil.defaultString(null), is(""));Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Sat Nov 22 11:21:59 UTC 2025 - 11.4K bytes - Viewed (0) -
src/main/java/org/codelibs/core/convert/DateConversionUtil.java
import static java.text.DateFormat.getDateInstance; import static org.codelibs.core.collection.MultiIterator.iterable; import static org.codelibs.core.lang.StringUtil.isEmpty; import static org.codelibs.core.lang.StringUtil.isNotEmpty; import static org.codelibs.core.misc.AssertionUtil.assertArgumentNotNull; import java.text.DateFormat; import java.text.ParsePosition; import java.text.SimpleDateFormat; import java.util.Calendar;
Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 19.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
val functions = collectKtFunctionsFor(qualifiedBaseName, method) if (functions.isNotEmpty()) { return functions.all(predicate) } val properties = collectKtPropertiesFor(qualifiedBaseName, method) return properties.isNotEmpty() && properties.all(predicate) } privateRegistered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jul 08 07:02:19 UTC 2025 - 13.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/JSSETest.kt
*/ package okhttp3 import assertk.assertThat import assertk.assertions.contains import assertk.assertions.containsExactly import assertk.assertions.isEqualTo import assertk.assertions.isNotEmpty import javax.net.ssl.SSLSocket import javax.net.ssl.SSLSocketFactory import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.junit5.StartStop import okhttp3.TestUtil.assumeNetwork
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 5.5K bytes - Viewed (0)