2222import com .google .common .base .Function ;
2323import com .google .common .base .MoreObjects ;
2424import com .google .common .collect .Iterators ;
25- import com .google .gcloud .BasePage ;
25+ import com .google .gcloud .PageImpl ;
2626import com .google .gcloud .Page ;
2727import com .google .gcloud .storage .Storage .BlobSourceOption ;
2828import com .google .gcloud .storage .Storage .BlobTargetOption ;
@@ -54,7 +54,7 @@ public final class Bucket {
5454 private final Storage storage ;
5555 private final BucketInfo info ;
5656
57- private static class BlobPageFetcher implements BasePage .NextPageFetcher <Blob > {
57+ private static class BlobPageFetcher implements PageImpl .NextPageFetcher <Blob > {
5858
5959 private static final long serialVersionUID = 3221100177471323801L ;
6060
@@ -69,7 +69,7 @@ private static class BlobPageFetcher implements BasePage.NextPageFetcher<Blob> {
6969 @ Override
7070 public Page <Blob > nextPage () {
7171 Page <BlobInfo > nextInfoPage = infoPage .nextPage ();
72- return new BasePage <Blob >(new BlobPageFetcher (options , nextInfoPage ),
72+ return new PageImpl <Blob >(new BlobPageFetcher (options , nextInfoPage ),
7373 nextInfoPage .nextPageCursor (), new LazyBlobIterable (options , nextInfoPage .values ()));
7474 }
7575 }
@@ -210,7 +210,7 @@ public boolean delete(BucketSourceOption... options) {
210210 public Page <Blob > list (Storage .BlobListOption ... options ) {
211211 Page <BlobInfo > infoPage = storage .list (info .name (), options );
212212 StorageOptions storageOptions = storage .options ();
213- return new BasePage <Blob >(new BlobPageFetcher (storageOptions , infoPage ),
213+ return new PageImpl <Blob >(new BlobPageFetcher (storageOptions , infoPage ),
214214 infoPage .nextPageCursor (), new LazyBlobIterable (storageOptions , infoPage .values ()));
215215 }
216216
0 commit comments