Updates after editor feedback

This commit is contained in:
Markus Gulden 2018-02-03 13:30:52 +01:00
parent e15f2fc7dd
commit 5a31640528
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ public class Customer {
@Size(min = 5, max = 200)
private String lastName;
public Customer(@Size(min = 5, max = 200) @NotNull String firstName, @Size(min = 5, max = 200) String lastName) {
public Customer(@Size(min = 5, max = 200) @NotNull String firstName, @Size(min = 5, max = 200) @NotNull String lastName) {
this.firstName = firstName;
this.lastName = lastName;
}