Skip to content

Commit 4361f23

Browse files
cpovirkGoogle Java Core Libraries
authored and
Google Java Core Libraries
committed
Add a missing @since tag, and remove @FunctionalInterface from a package-private method.
(The latter prepares for [Android compatibility for Java 8 APIs](#6567).) RELNOTES=n/a PiperOrigin-RevId: 626483101
1 parent 183837d commit 4361f23

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

guava-testlib/src/com/google/common/collect/testing/SpliteratorTester.java

+5-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,11 @@
4545
import java.util.function.Supplier;
4646
import org.checkerframework.checker.nullness.qual.Nullable;
4747

48-
/** Tester for {@code Spliterator} implementations. */
48+
/**
49+
* Tester for {@code Spliterator} implementations.
50+
*
51+
* @since 21.0
52+
*/
4953
@GwtCompatible
5054
@ElementTypesAreNonnullByDefault
5155
public final class SpliteratorTester<E extends @Nullable Object> {

guava/src/com/google/common/collect/CollectSpliterators.java

-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ abstract static class FlatMapSpliterator<
309309
OutSpliteratorT extends Spliterator<OutElementT>>
310310
implements Spliterator<OutElementT> {
311311
/** Factory for constructing {@link FlatMapSpliterator} instances. */
312-
@FunctionalInterface
313312
interface Factory<InElementT extends @Nullable Object, OutSpliteratorT extends Spliterator<?>> {
314313
OutSpliteratorT newFlatMapSpliterator(
315314
@CheckForNull OutSpliteratorT prefix,

0 commit comments

Comments
 (0)