diff --git a/google-cloud-storage/src/main/java/com/google/cloud/storage/ParallelCompositeUploadBlobWriteSessionConfig.java b/google-cloud-storage/src/main/java/com/google/cloud/storage/ParallelCompositeUploadBlobWriteSessionConfig.java index 0b4da5c21..a5f061e9b 100644 --- a/google-cloud-storage/src/main/java/com/google/cloud/storage/ParallelCompositeUploadBlobWriteSessionConfig.java +++ b/google-cloud-storage/src/main/java/com/google/cloud/storage/ParallelCompositeUploadBlobWriteSessionConfig.java @@ -521,8 +521,8 @@ public static PartNamingStrategy prefix(String prefixPattern) { } /** - * Strategy in which the end object name is the prefix included and is present on each part - * and intermediary compose object. + * Strategy in which the end object name is the prefix included and is present on each part and + * intermediary compose object. * *

General format is * @@ -535,7 +535,6 @@ public static PartNamingStrategy prefix(String prefixPattern) { *

NOTE:The way in which both {@code randomKeyDigest} and {@code * objectInfoDigest} are generated is undefined and subject to change at any time. * - * * @see #withPartNamingStrategy(PartNamingStrategy) * @since 2.30.2 This new api is in preview and is subject to breaking changes. */ @@ -543,7 +542,7 @@ public static PartNamingStrategy prefix(String prefixPattern) { public static PartNamingStrategy objectNamePrefix() { return objectNamePrefix(""); } - + private static PartNamingStrategy objectNamePrefix(String prefixPattern) { checkNotNull(prefixPattern, "prefixPattern must be non null"); SecureRandom rand = new SecureRandom();