Skip to content

Commit d417fda

Browse files
authored
chore: fix Page javadoc (#2412)
Correct method args (follow-up to #2401)
1 parent b49cbc5 commit d417fda

File tree

1 file changed

+3
-2
lines changed
  • polaris-core/src/main/java/org/apache/polaris/core/persistence/pagination

1 file changed

+3
-2
lines changed

polaris-core/src/main/java/org/apache/polaris/core/persistence/pagination/Page.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
import java.util.ArrayList;
2525
import java.util.Iterator;
2626
import java.util.List;
27+
import java.util.function.BooleanSupplier;
2728
import java.util.function.Function;
2829
import java.util.stream.Collectors;
2930
import java.util.stream.Stream;
@@ -99,8 +100,8 @@ public List<T> items() {
99100

100101
/**
101102
* Returns a page token in encoded form suitable for returning to API clients. The string returned
102-
* from this method is expected to be parsed by {@link PageToken#build(String, Integer)} when
103-
* servicing the request for the next page of related data.
103+
* from this method is expected to be parsed by {@link PageToken#build(String, Integer,
104+
* BooleanSupplier)} when servicing the request for the next page of related data.
104105
*/
105106
public @Nullable String encodedResponseToken() {
106107
return PageTokenUtil.encodePageToken(request, nextToken);

0 commit comments

Comments
 (0)