Skip to content

Commit 26471e6

Browse files
committed
Use diamond operator instead of explicit type param for PageImpl
1 parent 104bf41 commit 26471e6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • gcloud-java-storage/src/main/java/com/google/gcloud/storage

gcloud-java-storage/src/main/java/com/google/gcloud/storage/Bucket.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ 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 PageImpl<Blob>(new BlobPageFetcher(storageOptions, infoPage),
214-
infoPage.nextPageCursor(), new LazyBlobIterable(storageOptions, infoPage.values()));
213+
return new PageImpl<>(new BlobPageFetcher(storageOptions, infoPage), infoPage.nextPageCursor(),
214+
new LazyBlobIterable(storageOptions, infoPage.values()));
215215
}
216216

217217
/**

0 commit comments

Comments
 (0)