diff --git a/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java b/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java index d6a866ce194b..d3251d47de2c 100644 --- a/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java +++ b/guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java @@ -45,7 +45,11 @@ import java.util.function.Supplier; import org.checkerframework.checker.nullness.qual.Nullable; -/** Tester for {@code Spliterator} implementations. */ +/** + * Tester for {@code Spliterator} implementations. + * + * @since 21.0 + */ @GwtCompatible @ElementTypesAreNonnullByDefault public final class SpliteratorTester { diff --git a/guava/src/com/google/common/collect/CollectSpliterators.java b/guava/src/com/google/common/collect/CollectSpliterators.java index e2242db6d25c..b7bec7e7afd7 100644 --- a/guava/src/com/google/common/collect/CollectSpliterators.java +++ b/guava/src/com/google/common/collect/CollectSpliterators.java @@ -309,7 +309,6 @@ abstract static class FlatMapSpliterator< OutSpliteratorT extends Spliterator> implements Spliterator { /** Factory for constructing {@link FlatMapSpliterator} instances. */ - @FunctionalInterface interface Factory> { OutSpliteratorT newFlatMapSpliterator( @CheckForNull OutSpliteratorT prefix,