Skip to content

Commit ee3bfc4

Browse files
1 parent 7989385 commit ee3bfc4

File tree

2 files changed

+7
-6
lines changed

2 files changed

+7
-6
lines changed

‎google-cloud-storage/src/main/java/com/google/cloud/storage/BucketInfo.java‎

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -846,9 +846,9 @@ public static SetStorageClassLifecycleAction newSetStorageClassAction(
846846
}
847847

848848
/**
849-
* Create a new {@code AbortIncompleteMPUploadAction}. An incomplete multipart upload
850-
* will be aborted when the multipart upload meets the specified condition. Age is the
851-
* only condition supported for this action.
849+
* Create a new {@code AbortIncompleteMPUploadAction}. An incomplete multipart upload will be
850+
* aborted when the multipart upload meets the specified condition. Age is the only condition
851+
* supported for this action.
852852
*/
853853
public static LifecycleAction newAbortIncompleteMPUploadAction() {
854854
return new AbortIncompleteMPUploadAction();
@@ -901,7 +901,9 @@ public StorageClass getStorageClass() {
901901
public static class AbortIncompleteMPUploadAction extends LifecycleAction {
902902
public static final String TYPE = "AbortIncompleteMultipartUpload";
903903

904-
private AbortIncompleteMPUploadAction() { super(TYPE); }
904+
private AbortIncompleteMPUploadAction() {
905+
super(TYPE);
906+
}
905907
}
906908
}
907909

‎google-cloud-storage/src/test/java/com/google/cloud/storage/it/ITStorageTest.java‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -564,8 +564,7 @@ public void testGetBucketAbortMPULifecycle() {
564564
storage.get(lifecycleTestBucketName, Storage.BucketGetOption.fields(BucketField.LIFECYCLE));
565565
LifecycleRule lifecycleRule = remoteBucket.getLifecycleRules().get(0);
566566
try {
567-
assertEquals(
568-
AbortIncompleteMPUploadAction.TYPE, lifecycleRule.getAction().getActionType());
567+
assertEquals(AbortIncompleteMPUploadAction.TYPE, lifecycleRule.getAction().getActionType());
569568
assertEquals(1, lifecycleRule.getCondition().getAge().intValue());
570569
} finally {
571570
storage.delete(lifecycleTestBucketName);

0 commit comments

Comments
 (0)