@@ -487,9 +487,11 @@ public void testChangedCustomProjectMetadataSet() {
487487 final CustomProjectMetadata custom1 = new CustomProjectMetadata ("custom1" );
488488 final CustomProjectMetadata custom2 = new CustomProjectMetadata ("custom2" );
489489 final ProjectMetadata project1 = ProjectMetadata .builder (randomUniqueProjectId ())
490- .putCustom (custom1 .getWriteableName (), custom1 ).build ();
490+ .putCustom (custom1 .getWriteableName (), custom1 )
491+ .build ();
491492 final ProjectMetadata project2 = ProjectMetadata .builder (randomUniqueProjectId ())
492- .putCustom (custom2 .getWriteableName (), custom2 ).build ();
493+ .putCustom (custom2 .getWriteableName (), custom2 )
494+ .build ();
493495
494496 final ClusterState originalState = ClusterState .builder (TEST_CLUSTER_NAME )
495497 .metadata (Metadata .builder ().put (project1 ).build ())
@@ -536,7 +538,8 @@ public void testChangedCustomProjectMetadataSet() {
536538
537539 // remove project
538540 {
539- ClusterState oldState = ClusterState .builder (originalState ).putProjectMetadata (ProjectMetadata .builder (project2 ).build ())
541+ ClusterState oldState = ClusterState .builder (originalState )
542+ .putProjectMetadata (ProjectMetadata .builder (project2 ).build ())
540543 .build ();
541544 // project2 is removed
542545 ClusterState newState = originalState ;
@@ -548,7 +551,8 @@ public void testChangedCustomProjectMetadataSet() {
548551
549552 // add custom to project1 + remove project2
550553 {
551- ClusterState oldState = ClusterState .builder (originalState ).putProjectMetadata (ProjectMetadata .builder (project2 ).build ())
554+ ClusterState oldState = ClusterState .builder (originalState )
555+ .putProjectMetadata (ProjectMetadata .builder (project2 ).build ())
552556 .build ();
553557 ClusterState newState = ClusterState .builder (originalState )
554558 .putProjectMetadata (ProjectMetadata .builder (project1 ).putCustom (custom2 .getWriteableName (), custom2 ).build ())
0 commit comments