Skip to content

Commit

Permalink
🦉 Updates from OwlBot post-processor
Browse files Browse the repository at this point in the history
  • Loading branch information
gcf-owl-bot[bot] committed Jan 4, 2024
1 parent bbc4ca3 commit 522f4ca
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ public final class ParallelCompositeUploadBlobWriteSessionConfig extends BlobWri
private final PartNamingStrategy partNamingStrategy;
private final PartCleanupStrategy partCleanupStrategy;


private ParallelCompositeUploadBlobWriteSessionConfig(
int maxPartsPerCompose,
ExecutorSupplier executorSupplier,
Expand Down Expand Up @@ -581,16 +580,17 @@ protected String fmtFields(String randomKey, String ultimateObjectName, String p
+ ".part";
}
}
static final class WithObjectLevelPrefix extends PartNamingStrategy {

private static final long serialVersionUID = 5157942020618764450L;
static final class WithObjectLevelPrefix extends PartNamingStrategy {

private static final long serialVersionUID = 5157942020618764450L;
private final String prefix;

private WithObjectLevelPrefix(SecureRandom rand, String prefix) {
super(rand);
// If no prefix is specified we will create the part files under the same directory as the
// ultimate object.
this.prefix = prefix.isEmpty() ? prefix : prefix + "/";
this.prefix = prefix.isEmpty() ? prefix : prefix + "/";
}

@Override
Expand Down

0 comments on commit 522f4ca

Please sign in to comment.