Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
sydney-munro committed Jan 4, 2024
1 parent bbc4ca3 commit 134f8b4
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 134f8b4

Please sign in to comment.