docs: improve fluent interface

This commit is contained in:
Ilkka Seppälä
2024-04-21 10:38:52 +03:00
parent 6d385349cb
commit ab1a30ba69
3 changed files with 85 additions and 56 deletions
@@ -42,7 +42,7 @@ import lombok.extern.slf4j.Slf4j;
* {@link SimpleFluentIterable} evaluates eagerly and would be too costly for real world
* applications. The {@link LazyFluentIterable} is evaluated on termination. Their usage is
* demonstrated with a simple number list that is filtered, transformed and collected. The result is
* printed afterwards.
* printed afterward.
*/
@Slf4j
public class App {
@@ -191,7 +191,7 @@ public abstract class FluentIterableTest {
}
@Test
void testSpliterator() throws Exception {
void testSpliterator() {
final var integers = List.of(1, 2, 3);
final var split = createFluentIterable(integers).spliterator();
assertNotNull(split);