diff --git a/polaris-core/src/main/java/org/apache/polaris/core/catalog/pagination/PolarisPage.java b/polaris-core/src/main/java/org/apache/polaris/core/catalog/pagination/PolarisPage.java index c9f537e5d..f0f673934 100644 --- a/polaris-core/src/main/java/org/apache/polaris/core/catalog/pagination/PolarisPage.java +++ b/polaris-core/src/main/java/org/apache/polaris/core/catalog/pagination/PolarisPage.java @@ -33,7 +33,9 @@ public PolarisPage(PageToken pageToken, List data) { this.data = data; } - /** Used to wrap a {@link List} of data into a {@link PolarisPage} when there is no more data */ + /** + * Used to wrap a {@link List} of data into a {@link PolarisPage} when there is no more data + */ public static PolarisPage fromData(List data) { return new PolarisPage<>(PageToken.DONE, data); } diff --git a/polaris-service/src/main/java/org/apache/polaris/service/types/ListNamespacesResponseWithPageToken.java b/polaris-service/src/main/java/org/apache/polaris/service/types/ListNamespacesResponseWithPageToken.java index c891a53da..5e9e9d031 100644 --- a/polaris-service/src/main/java/org/apache/polaris/service/types/ListNamespacesResponseWithPageToken.java +++ b/polaris-service/src/main/java/org/apache/polaris/service/types/ListNamespacesResponseWithPageToken.java @@ -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; diff --git a/polaris-service/src/main/java/org/apache/polaris/service/types/ListTablesResponseWithPageToken.java b/polaris-service/src/main/java/org/apache/polaris/service/types/ListTablesResponseWithPageToken.java index 9bb7404ac..7689c2576 100644 --- a/polaris-service/src/main/java/org/apache/polaris/service/types/ListTablesResponseWithPageToken.java +++ b/polaris-service/src/main/java/org/apache/polaris/service/types/ListTablesResponseWithPageToken.java @@ -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;