From e3ee2dc2a2280b4209236d7e812cd5b3d466ef9b Mon Sep 17 00:00:00 2001 From: Marco Ziccardi Date: Mon, 12 Oct 2015 19:18:53 +0200 Subject: [PATCH] Enhance storage/blob signUrl javadoc --- .../src/main/java/com/google/gcloud/storage/Blob.java | 2 +- .../src/main/java/com/google/gcloud/storage/Storage.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcloud-java-storage/src/main/java/com/google/gcloud/storage/Blob.java b/gcloud-java-storage/src/main/java/com/google/gcloud/storage/Blob.java index ece38ee3cdd0..6a8455260e9f 100644 --- a/gcloud-java-storage/src/main/java/com/google/gcloud/storage/Blob.java +++ b/gcloud-java-storage/src/main/java/com/google/gcloud/storage/Blob.java @@ -243,7 +243,7 @@ public BlobWriteChannel writer(BlobTargetOption... options) { * want to require users to explicitly log in. * * @param duration time until the signed URL expires, expressed in {@code unit}. The finer - * granularity supported is 1 second + * granularity supported is 1 second, finer granularities will be truncated * @param unit time unit of the {@code duration} parameter * @param options optional URL signing options * @return a signed URL for this bucket and the specified options diff --git a/gcloud-java-storage/src/main/java/com/google/gcloud/storage/Storage.java b/gcloud-java-storage/src/main/java/com/google/gcloud/storage/Storage.java index 8d7139adeeca..825248f99e7f 100644 --- a/gcloud-java-storage/src/main/java/com/google/gcloud/storage/Storage.java +++ b/gcloud-java-storage/src/main/java/com/google/gcloud/storage/Storage.java @@ -641,7 +641,7 @@ public static Builder builder() { * * @param blobInfo the blob associated with the signed URL * @param duration time until the signed URL expires, expressed in {@code unit}. The finer - * granularity supported is 1 second + * granularity supported is 1 second, finer granularities will be truncated * @param unit time unit of the {@code duration} parameter * @param options optional URL signing options * @see Signed-URLs