From 4db4c81b9bea4e487d2a9aacb054ee54ad18ea64 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Fri, 28 Apr 2017 09:38:56 -0700 Subject: [PATCH] Polish --- .../validation/ValidationAutoConfigurationTests.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/validation/ValidationAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/validation/ValidationAutoConfigurationTests.java index 1f83b02e4d..49db8492e6 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/validation/ValidationAutoConfigurationTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/validation/ValidationAutoConfigurationTests.java @@ -121,8 +121,8 @@ public class ValidationAutoConfigurationTests { String[] springValidatorNames = this.context .getBeanNamesForType(org.springframework.validation.Validator.class); assertThat(jsrValidatorNames).containsExactly("defaultValidator"); - assertThat(springValidatorNames).containsExactly( - "customValidator", "anotherCustomValidator", "defaultValidator"); + assertThat(springValidatorNames).containsExactly("customValidator", + "anotherCustomValidator", "defaultValidator"); Validator jsrValidator = this.context.getBean(Validator.class); org.springframework.validation.Validator springValidator = this.context .getBean(org.springframework.validation.Validator.class); @@ -138,14 +138,14 @@ public class ValidationAutoConfigurationTests { String[] springValidatorNames = this.context .getBeanNamesForType(org.springframework.validation.Validator.class); assertThat(jsrValidatorNames).containsExactly("defaultValidator"); - assertThat(springValidatorNames).containsExactly( - "customValidator", "anotherCustomValidator", "defaultValidator"); + assertThat(springValidatorNames).containsExactly("customValidator", + "anotherCustomValidator", "defaultValidator"); Validator jsrValidator = this.context.getBean(Validator.class); org.springframework.validation.Validator springValidator = this.context .getBean(org.springframework.validation.Validator.class); assertThat(jsrValidator).isInstanceOf(LocalValidatorFactoryBean.class); - assertThat(springValidator).isEqualTo( - this.context.getBean("anotherCustomValidator")); + assertThat(springValidator) + .isEqualTo(this.context.getBean("anotherCustomValidator")); assertThat(isPrimaryBean("defaultValidator")).isFalse(); }