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: spring-data-eclipse-store/src/test/java/software/xdev/spring/data/eclipse/store/integration/isolated/tests/constraints/ConstraintDaoObject.java
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -65,7 +65,7 @@ public class ConstraintDaoObject
65
65
@DecimalMin("5.00")
66
66
BigDecimaldiscountMin5;
67
67
68
-
@DecimalMax("30.00")
68
+
@DecimalMax("20.00")
69
69
BigDecimaldiscountMax20;
70
70
71
71
@Email
@@ -116,8 +116,8 @@ public class ConstraintDaoObject
116
116
@PositiveOrZero
117
117
intpositiveOrZeroField;
118
118
119
-
@Size(min = 2, max = 240)
120
-
StringmessageMin2AndMax240;
119
+
@Size(min = 2, max = 10)
120
+
StringmessageMin2AndMax10;
121
121
122
122
publicConstraintDaoObject()
123
123
{
@@ -141,7 +141,7 @@ public ConstraintDaoObject()
141
141
this.phoneNumber = "(123)456-7890";
142
142
this.area = BigDecimal.valueOf(1);
143
143
this.positiveOrZeroField = 1;
144
-
this.messageMin2AndMax240 = "..";
144
+
this.messageMin2AndMax10 = "..";
145
145
}
146
146
147
147
@AssertFalse
@@ -186,12 +186,12 @@ public void setDiscountMin5(final @DecimalMin("5.00") BigDecimal discountMin5)
0 commit comments