Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-munro committed Jan 5, 2024
1 parent 5f5160d commit 0115605
Showing 1 changed file with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
* <p>General format is
*
Expand All @@ -535,15 +535,14 @@ public static PartNamingStrategy prefix(String prefixPattern) {
* <p><b><i>NOTE:</i></b>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.
*/
@BetaApi
public static PartNamingStrategy objectNamePrefix() {
return objectNamePrefix("");
}

private static PartNamingStrategy objectNamePrefix(String prefixPattern) {
checkNotNull(prefixPattern, "prefixPattern must be non null");
SecureRandom rand = new SecureRandom();
Expand Down

0 comments on commit 0115605

Please sign in to comment.