incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1002781 - /incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java
Date Wed, 29 Sep 2010 17:42:27 GMT
Author: mbenson
Date: Wed Sep 29 17:42:27 2010
New Revision: 1002781

URL: http://svn.apache.org/viewvc?rev=1002781&view=rev
Log:
update warnings

Modified:
    incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java

Modified: incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java?rev=1002781&r1=1002780&r2=1002781&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/BeanValidationContext.java
Wed Sep 29 17:42:27 2010
@@ -61,7 +61,7 @@ public class BeanValidationContext<T ext
     private AccessStrategy access;
 
     /** set of objects already validated to avoid endless loops. */
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings({ "rawtypes" })
     protected Map validatedObjects;
 
     /**
@@ -79,7 +79,7 @@ public class BeanValidationContext<T ext
      * Create a new BeanValidationContext instance.
      * @param listener
      */
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings({ "rawtypes" })
     public BeanValidationContext(T listener) {
         this(listener, new IdentityHashMap());
     }
@@ -89,7 +89,7 @@ public class BeanValidationContext<T ext
      * @param listener
      * @param validatedMap
      */
-    @SuppressWarnings("unchecked")
+    @SuppressWarnings({ "rawtypes" })
     protected BeanValidationContext(T listener, Map validatedMap) {
         this.listener = listener;
         this.validatedObjects = validatedMap;



Mime
View raw message