Browse Source

Author's name can't have numbers

Signed-off-by: Pekka Helenius <fincer89@hotmail.com>
v0.0.4-alpha
Pekka Helenius 4 years ago
parent
commit
84acd3f455
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      bookstore/src/main/java/com/fjordtek/bookstore/model/book/Author.java

+ 1
- 1
bookstore/src/main/java/com/fjordtek/bookstore/model/book/Author.java View File

@ -37,7 +37,7 @@ public class Author {
private static final int strMax = 100; private static final int strMax = 100;
// We format length check in Size annotations, not here // We format length check in Size annotations, not here
private static final String regexCommon = "^[a-zA-Z0-9\\-:\\s]*$";
private static final String regexCommon = "^[a-zA-Z\\-:\\s]*$";
//////////////////// ////////////////////
// Primary key value in database // Primary key value in database


Loading…
Cancel
Save