bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1304703 - /bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java
Date Sat, 24 Mar 2012 04:04:20 GMT
Author: mbenson
Date: Sat Mar 24 04:04:20 2012
New Revision: 1304703

URL: http://svn.apache.org/viewvc?rev=1304703&view=rev
Log:
unnecessary bound

Modified:
    bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java

Modified: bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java
URL: http://svn.apache.org/viewvc/bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java?rev=1304703&r1=1304702&r2=1304703&view=diff
==============================================================================
--- bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java
(original)
+++ bval/trunk/bval-jsr303/src/main/java/org/apache/bval/jsr303/extensions/AppendValidationToList.java
Sat Mar 24 04:04:20 2012
@@ -30,7 +30,7 @@ import java.util.List;
  * cache of validations for further processing.<br/>
  */
 public class AppendValidationToList extends BaseAppendValidation {
-    private final List<ConstraintValidation<? extends Annotation>> validations
= new ArrayList<ConstraintValidation<? extends Annotation>>();
+    private final List<ConstraintValidation<?>> validations = new ArrayList<ConstraintValidation<?>>();
 
     /**
      * Create a new AppendValidationToList instance.
@@ -49,7 +49,7 @@ public class AppendValidationToList exte
      * Get the list of cached validations.
      * @return {@link List} of {@link ConstraintValidation}
      */
-    public List<ConstraintValidation<? extends Annotation>> getValidations()
{
+    public List<ConstraintValidation<?>> getValidations() {
         return validations;
     }
 }



Mime
View raw message