File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
main/java/com/google/cloud/storage
test/java/com/google/cloud/storage/it Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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 );
You can’t perform that action at this time.
0 commit comments