- Sort Score
- Result 10 results
- Languages All
Results 501 - 510 of 746 for isEmpty (0.04 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java
String base = basedir.getAbsolutePath(); if (path.startsWith(base)) { path = chopLeadingFileSeparator(path.substring(base.length())); } if (path.isEmpty()) { path = "."; } if (!new File(path).isAbsolute()) { path = path.replace('\\', '/'); } return path; }Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 7.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java
void takeSuccessfully() { assertEquals(EXPECTED_TAKE, takeUninterruptibly(queue)); completed.assertCompletionExpected(); assertTrue(queue.isEmpty()); } private static void scheduleEnableReads(BlockingQueue<String> queue, long countdownInMillis) { Runnable toRun = new EnableReads(queue, countdownInMillis);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 31.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BooleansTest.java
} @SuppressWarnings({"CollectionIsEmptyTruth", "CollectionIsNotEmptyTruth"}) public void testAsListIsEmpty() { assertThat(Booleans.asList(EMPTY).isEmpty()).isTrue(); assertThat(Booleans.asList(ARRAY_FALSE).isEmpty()).isFalse(); } @SuppressWarnings("CollectionSizeTruth") public void testAsListSize() { assertThat(Booleans.asList(EMPTY).size()).isEqualTo(0);Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapGetTester.java
assertEmpty(result); assertEquals(0, result.size()); } @CollectionSize.Require(absent = ZERO) public void testGetNonEmpty() { Collection<V> result = multimap().get(k0()); assertFalse(result.isEmpty()); assertContentsAnyOrder(result, v0()); } @CollectionSize.Require(SEVERAL) public void testGetMultiple() { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v2()));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 5.7K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
} } } ImportResults(sortedRules, sortedExceptionRules, totalRuleBytes, totalExceptionRuleBytes) } private fun String.toRule(): ByteString? { if (trim { it <= ' ' }.isEmpty() || startsWith("//")) return null if (contains(WILDCARD_CHAR)) { assertWildcardRule(this) } return encodeUtf8() } data class ImportResults(Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Aug 06 05:33:11 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/DialectVersionTest.java
void testStringRepresentation(DialectVersion version) { // When String stringRep = version.toString(); // Then assertNotNull(stringRep); assertFalse(stringRep.isEmpty()); } @Test @DisplayName("Should handle version comparison") void testVersionComparison() { // Test equality assertEquals(DialectVersion.SMB311, DialectVersion.SMB311);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) { errors.add(new ProfileActivationException(req.getMessage(), req.getException())); } }); if (!errors.isEmpty()) { throw errors.get(0); } return profiles; } /* (non-Javadoc) * @see org.apache.maven.profiles.ProfileManager#addProfiles(java.util.List) */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/WebConfigService.java
final ListResultBean<WebConfig> list = webConfigBhv.selectList(cb -> { cb.query().setName_Equal(name); cb.query().addOrderBy_SortOrder_Asc(); }); if (list.isEmpty()) { return OptionalEntity.empty(); } return OptionalEntity.of(list.get(0)); } /** * Stores a web configuration.
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 6.6K bytes - Viewed (0) -
okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
} else if (methodName == "unsupported" && Void.TYPE == returnType) { this.unsupported = true // Peer doesn't support ALPN. return null } else if (methodName == "protocols" && callArgs.isEmpty()) { return protocols // Client advertises these protocols. } else if ((methodName == "selectProtocol" || methodName == "select") && String::class.java == returnType && callArgs.size == 1 &&
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbExceptionTest.java
// Then assertNotNull(exception); assertEquals(ntStatus, exception.getNtStatus()); assertNotNull(exception.getMessage()); assertFalse(exception.getMessage().isEmpty()); } @Test @DisplayName("Should format error message for file not found") void testFileNotFoundError() { // Given int ntStatus = NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0)