Skip to content

Commit

Permalink
Description now only @NotNull
Browse files Browse the repository at this point in the history
  • Loading branch information
artthik committed Dec 10, 2014
1 parent 775a94e commit b6c72fd
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ public class AdForm {
private Long roomSize;

@Lob
@NotNull
@Pattern(regexp = "[a-zA-ZäöüÄÖÜ.,;:0-9()\\s]+", message = "Enter a description about the room\n")
@NotNull(message = "Enter a description about the room\n")
private String description;

private Long distanceToPublicTransport;
Expand Down

0 comments on commit b6c72fd

Please sign in to comment.