Skip to content

Commit 5f9eaa4

Browse files
committed
Better javadoc for (Bucket/Blob)ListOptions.prefix
1 parent 7193d0d commit 5f9eaa4

1 file changed

Lines changed: 4 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/Storage.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,7 +594,8 @@ public static BucketListOption startPageToken(String pageToken) {
594594
}
595595

596596
/**
597-
* Returns an option to set a prefix for listed buckets names.
597+
* Returns an option to set a prefix to filter results to buckets whose names begin with this
598+
* prefix.
598599
*/
599600
public static BucketListOption prefix(String prefix) {
600601
return new BucketListOption(StorageRpc.Option.PREFIX, prefix);
@@ -639,7 +640,8 @@ public static BlobListOption startPageToken(String pageToken) {
639640
}
640641

641642
/**
642-
* Returns an option to set a prefix for listed blobs names.
643+
* Returns an option to set a prefix to filter results to blobs whose names begin with this
644+
* prefix.
643645
*/
644646
public static BlobListOption prefix(String prefix) {
645647
return new BlobListOption(StorageRpc.Option.PREFIX, prefix);

0 commit comments

Comments
 (0)