- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 1,163 for useEmpty (0.06 seconds)
-
android/guava-tests/test/com/google/common/collect/AbstractMapsTransformValuesTest.java
entryIterator.next(); entryIterator.remove(); assertFalse(underlying.containsKey("g")); assertTrue(underlying.isEmpty()); assertTrue(map.isEmpty()); assertTrue(keys.isEmpty()); assertTrue(values.isEmpty()); assertTrue(entries.isEmpty()); } public void testTransformEquals() { Map<String, Integer> underlying = ImmutableMap.of("a", 0, "b", 1, "c", 2);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 9.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/MojoExecutor.java
List<String> scopes = new ArrayList<>(2); if (scopeToCollect != null && !scopeToCollect.isEmpty()) { scopes.add(scopeToCollect); } if (scopeToResolve != null && !scopeToResolve.isEmpty()) { scopes.add(scopeToResolve); } if (scopes.isEmpty()) { return null; } else { return new CumulativeScopeArtifactFilter(scopes);Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Jun 12 14:55:55 GMT 2025 - 21K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/StrategyOrchestrator.java
if (!overallResult.modifiedPoms().isEmpty()) { context.success( "Total POMs modified: " + overallResult.modifiedPoms().size()); } else { context.info("No POMs required modifications"); } if (!overallResult.errorPoms().isEmpty()) { context.failure(Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 7K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/concurrent/ConcurrentLifecycleStarter.java
if (tasks.isEmpty() && (rootProject.getDefaultGoal() != null && !rootProject.getDefaultGoal().isEmpty())) { tasks = Stream.of(rootProject.getDefaultGoal().split("\\s+")) .filter(g -> !g.isEmpty()) .collect(Collectors.toList()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 8.3K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/PruneChangelogsTask.java
boolean dryRun, Path rootDir ) { if (allFilesInCheckout.isEmpty()) { LOGGER.warn("No changelog files in checkout, so nothing to delete."); return; } final Set<String> earlierFiles = findAllFilesInEarlierVersions(gitWrapper, version); if (earlierFiles.isEmpty()) { LOGGER.warn("No files need to be deleted."); return;Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Fri Sep 24 10:57:02 GMT 2021 - 6.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/GraphMutationTest.java
for (int trial = 0; trial < NUM_TRIALS; ++trial) { MutableGraph<Integer> graph = graphBuilder.allowsSelfLoops(true).build(); assertThat(graph.nodes()).isEmpty(); assertThat(graph.edges()).isEmpty(); AbstractGraphTest.validateGraph(graph); while (graph.nodes().size() < NUM_NODES) { graph.addNode(gen.nextInt(NODE_POOL_SIZE)); }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 4.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java
q.add(element); } else { assertEqualsUsingSeed(seed, control.poll(), q.pollFirst()); } } while (!control.isEmpty()) { assertEqualsUsingSeed(seed, control.poll(), q.pollFirst()); } assertTrue(q.isEmpty()); } public void testExhaustive_pollAndPush() { int size = 5; List<Integer> expected = createOrderedList(size);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 13:11:08 GMT 2026 - 36.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
* * @return The identifier of the POM or an empty string if not known, never {@code null}. */ public String getModelId() { if (result == null || result.getModelIds().isEmpty()) { return ""; } return result.getModelIds().get(0); } /** * Gets the problems that caused this exception. *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 5.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/eventbus/outside/NeitherAbstractNorAnnotatedInSuperclassTest.java
} } public void testNeitherOverriddenNorAnnotated() { assertThat(getSubscriber().neitherOverriddenNorAnnotatedEvents).isEmpty(); } public void testOverriddenInSubclassNowhereAnnotated() { assertThat(getSubscriber().overriddenInSubclassNowhereAnnotatedEvents).isEmpty(); } public void testOverriddenAndAnnotatedInSubclass() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 2.6K bytes - Click Count (0)