[jboss-cvs] jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model ...

Christian Bauer christian at hibernate.org
Mon Oct 22 01:12:16 EDT 2007


  User: cbauer  
  Date: 07/10/22 01:12:16

  Modified:    examples/wiki/src/main/org/jboss/seam/wiki/core/model 
                        User.java
  Log:
  Less minimum characters for names
  
  Revision  Changes    Path
  1.12      +3 -3      jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/User.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: User.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/examples/wiki/src/main/org/jboss/seam/wiki/core/model/User.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -b -r1.11 -r1.12
  --- User.java	12 Oct 2007 16:31:25 -0000	1.11
  +++ User.java	22 Oct 2007 05:12:16 -0000	1.12
  @@ -30,7 +30,7 @@
   
       @Column(name = "FIRSTNAME", length = 63, nullable = false)
       @NotNull
  -    @Length(min = 3, max = 63)
  +    @Length(min = 1, max = 63)
       @Pattern(
           regex="[a-zA-Z]+",
           message="#{messages['lacewiki.entity.FirstNameMustOnlyContainLetters']}"
  @@ -39,7 +39,7 @@
   
       @Column(name = "LASTNAME", length = 63, nullable = false)
       @NotNull
  -    @Length(min = 3, max = 63)
  +    @Length(min = 1, max = 63)
       @Pattern(
           regex="[a-zA-Z]+",
           message="#{messages['lacewiki.entity.LastNameMustOnlyContainLetters']}"
  @@ -48,7 +48,7 @@
   
       @Column(name = "USERNAME", length = 16, nullable = false, unique = true)
       @NotNull
  -    @Length(min = 3, max = 16)
  +    @Length(min = 1, max = 16)
       @Pattern(
           regex="[a-zA-Z]?[a-zA-Z0-9]+",
           message="#{messages['lacewiki.entity.UsernameMustStartWithALetterAndOnlyContainLetters']}"
  
  
  



More information about the jboss-cvs-commits mailing list