From f5879cd941b96d5b870d233897957803aeb0ded7 Mon Sep 17 00:00:00 2001 From: Ajit Thakor <49403056+athakor@users.noreply.github.com> Date: Fri, 15 Nov 2019 04:16:35 +0530 Subject: [PATCH] Fix the docstring (#6788) --- .../main/java/com/google/cloud/storage/Storage.java | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java index 5aba238faad3..3091e0f690c5 100644 --- a/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java +++ b/google-cloud-clients/google-cloud-storage/src/main/java/com/google/cloud/storage/Storage.java @@ -1123,12 +1123,11 @@ public static SignUrlOption signWith(ServiceAccountSigner signer) { } /** - * Use a different host name than the default host name 'https://storage.googleapis.com'. This - * must also include the scheme component of the URI. This option is particularly useful for - * developers to point requests to an alternate endpoint (e.g. a staging environment or sending - * requests through VPC). Note that if using this with the {@code withVirtualHostedStyle()} - * method, you should omit the bucket name from the hostname, as it automatically gets prepended - * to the hostname for virtual hosted-style URLs. + * Use a different host name than the default host name 'storage.googleapis.com'. This option is + * particularly useful for developers to point requests to an alternate endpoint (e.g. a staging + * environment or sending requests through VPC). Note that if using this with the {@code + * withVirtualHostedStyle()} method, you should omit the bucket name from the hostname, as it + * automatically gets prepended to the hostname for virtual hosted-style URLs. */ public static SignUrlOption withHostName(String hostName) { return new SignUrlOption(Option.HOST_NAME, hostName);