You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/GetterPropertySelectionStrategyTest.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ public void defaultStrategyUsed() {
26
26
27
27
Set<ConstraintViolation<User>> constraintViolations = validator.validate( user );
28
28
29
-
// as User has nonstandard getters no violations are triggered
29
+
// as User has non-standard getters no violations are triggered
30
30
assertEquals( 0, constraintViolations.size() );
31
31
//end::no-strategy[]
32
32
}
@@ -41,11 +41,11 @@ public void customNoPrefixStrategyUsed() {
41
41
.buildValidatorFactory()
42
42
.getValidator();
43
43
44
-
Useruser = newUser( "first", "last", "not an email" );
44
+
Useruser = newUser( "", "", "not an email" );
45
45
46
46
Set<ConstraintViolation<User>> constraintViolations = validator.validate( user );
Copy file name to clipboardExpand all lines: documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/NoPrefixGetterPropertySelectionStrategy.java
+3-3
Original file line number
Diff line number
Diff line change
@@ -13,8 +13,8 @@ public class NoPrefixGetterPropertySelectionStrategy implements GetterPropertySe
Copy file name to clipboardExpand all lines: documentation/src/test/java/org/hibernate/validator/referenceguide/chapter12/getterselectionstrategy/User.java
0 commit comments