Skip to content

Commit 9109d98

Browse files
committed
createPartFile never returns null
1 parent 408806a commit 9109d98

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

server/src/main/java/com/adobe/testing/s3mock/store/MultipartStore.java

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -410,15 +410,11 @@ private String copyPartToFile(
410410
return hexDigest(partFile);
411411
}
412412

413-
@Nullable
414413
private File createPartFile(
415414
BucketMetadata bucket,
416-
@Nullable UUID id,
415+
UUID id,
417416
UUID uploadId,
418417
String partNumber) {
419-
if (id == null) {
420-
return null;
421-
}
422418
var partFile = getPartPath(
423419
bucket,
424420
uploadId,

0 commit comments

Comments
 (0)