Skip to content

Commit

Permalink
autolint
Browse files Browse the repository at this point in the history
  • Loading branch information
eric-maynard committed Sep 11, 2024
1 parent 54c478f commit 2e08f0d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,9 @@ public PolarisPage(PageToken pageToken, List<T> data) {
this.data = data;
}

/** Used to wrap a {@link List<T>} of data into a {@link PolarisPage<T>} when there is no more data */
/**
* Used to wrap a {@link List<T>} of data into a {@link PolarisPage<T>} when there is no more data
*/
public static <T> PolarisPage<T> fromData(List<T> data) {
return new PolarisPage<>(PageToken.DONE, data);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
import org.apache.polaris.core.catalog.pagination.PolarisPage;

/**
* Used in lieu of {@link ListNamespacesResponse} when there may be a {@link PageToken}
* associated with the response. Callers can use this {@link PageToken} to continue the
* listing operation and obtain more results.
* Used in lieu of {@link ListNamespacesResponse} when there may be a {@link PageToken} associated
* with the response. Callers can use this {@link PageToken} to continue the listing operation and
* obtain more results.
*/
public class ListNamespacesResponseWithPageToken extends ListNamespacesResponse {
private final PageToken pageToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,14 @@
import com.google.common.base.Preconditions;
import java.util.List;
import org.apache.iceberg.catalog.TableIdentifier;
import org.apache.iceberg.rest.responses.ListNamespacesResponse;
import org.apache.iceberg.rest.responses.ListTablesResponse;
import org.apache.polaris.core.catalog.pagination.PageToken;
import org.apache.polaris.core.catalog.pagination.PolarisPage;

/**
* Used in lieu of {@link ListTablesResponse} when there may be a {@link PageToken}
* associated with the response. Callers can use this {@link PageToken} to continue the
* listing operation and obtain more results.
* Used in lieu of {@link ListTablesResponse} when there may be a {@link PageToken} associated with
* the response. Callers can use this {@link PageToken} to continue the listing operation and obtain
* more results.
*/
public class ListTablesResponseWithPageToken extends ListTablesResponse {
private final PageToken pageToken;
Expand Down

0 comments on commit 2e08f0d

Please sign in to comment.