incubator-bval-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject svn commit: r1065823 - /incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/util/KeyedAccess.java
Date Mon, 31 Jan 2011 22:05:14 GMT
Author: mbenson
Date: Mon Jan 31 22:05:13 2011
New Revision: 1065823

URL: http://svn.apache.org/viewvc?rev=1065823&view=rev
Log:
suppress rawtypes warnings

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

Modified: incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/util/KeyedAccess.java
URL: http://svn.apache.org/viewvc/incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/util/KeyedAccess.java?rev=1065823&r1=1065822&r2=1065823&view=diff
==============================================================================
--- incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/util/KeyedAccess.java
(original)
+++ incubator/bval/sandbox/lang3-work/bval-core/src/main/java/org/apache/bval/util/KeyedAccess.java
Mon Jan 31 22:05:13 2011
@@ -78,7 +78,7 @@ public class KeyedAccess extends AccessS
                 String name = (String) key;
                 Class<?> rawKeyType = TypeUtils.getRawType(keyType, containerType);
                 if (rawKeyType.isEnum()) {
-                    @SuppressWarnings("unchecked")
+                    @SuppressWarnings({ "unchecked", "rawtypes" })
                     final Object result = map.get(Enum.valueOf((Class<? extends Enum>)
rawKeyType, name));
                     return result;
                 }



Mime
View raw message