Skip to content

Instantly share code, notes, and snippets.

@jwalgemoed jwalgemoed/PersonConstructor.java Secret
Last active Feb 5, 2018

Embed
What would you like to do?
public class Person {
private String firstName;
private String lastName;
public Person(
@Length(min = 1,max = 20) @NotNull String firstName,
@Length(min = 1,max = 20) @NotNull String lastName) {
// stuff removed
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.