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

Gavin King gavin.king at jboss.com
Mon May 7 22:32:17 EDT 2007


  User: gavin   
  Date: 07/05/07 22:32:17

  Modified:    src/main/org/jboss/seam/core  Validators.java
  Log:
  JBSEAM-1297
  
  Revision  Changes    Path
  1.6       +2 -2      jboss-seam/src/main/org/jboss/seam/core/Validators.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Validators.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-seam/src/main/org/jboss/seam/core/Validators.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -b -r1.5 -r1.6
  --- Validators.java	1 May 2007 16:43:51 -0000	1.5
  +++ Validators.java	8 May 2007 02:32:17 -0000	1.6
  @@ -64,7 +64,7 @@
       * @param modelClass the class to be validated
       * @param name the component name
       */
  -   public ClassValidator getValidator(Class modelClass, String name)
  +   public <T> ClassValidator<T> getValidator(Class<T> modelClass, String name)
      {
         Key key = new Key(modelClass, Locale.instance());
         ClassValidator result = classValidators.get(key);
  @@ -83,7 +83,7 @@
       */
      public <T> ClassValidator<T> getValidator(Class<T> modelClass)
      {
  -      return getValidator(modelClass);
  +      return getValidator(modelClass, null);
      }
      
      /**
  
  
  



More information about the jboss-cvs-commits mailing list