commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1819360 - in /commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils: LazyDynaMap.java WrapDynaClass.java locale/LocaleConvertUtilsBean.java
Date Wed, 27 Dec 2017 19:54:03 GMT
Author: ggregory
Date: Wed Dec 27 19:54:03 2017
New Revision: 1819360

URL: http://svn.apache.org/viewvc?rev=1819360&view=rev
Log:
Remove obsolete @SuppressWarnings.

Modified:
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java
    commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java?rev=1819360&r1=1819359&r2=1819360&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
(original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/LazyDynaMap.java
Wed Dec 27 19:54:03 2017
@@ -275,7 +275,6 @@ public class LazyDynaMap extends LazyDyn
         // Create a new instance of the Map
         Map<String, Object> newMap = null;
         try {
-            @SuppressWarnings("unchecked")
             final
             // The new map is used as properties map
             Map<String, Object> temp = getMap().getClass().newInstance();

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java?rev=1819360&r1=1819359&r2=1819360&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java
(original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/WrapDynaClass.java
Wed Dec 27 19:54:03 2017
@@ -460,7 +460,6 @@ public class WrapDynaClass implements Dy
         if (regulars == null) {
             regulars = new PropertyDescriptor[0];
         }
-        @SuppressWarnings("deprecation")
         Map<?, ?> mappeds =
                 PropertyUtils.getMappedPropertyDescriptors(beanClass);
         if (mappeds == null) {

Modified: commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java?rev=1819360&r1=1819359&r2=1819360&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java
(original)
+++ commons/proper/beanutils/trunk/src/main/java/org/apache/commons/beanutils/locale/LocaleConvertUtilsBean.java
Wed Dec 27 19:54:03 2017
@@ -546,7 +546,6 @@ public class LocaleConvertUtilsBean {
         public Object put(final Object key, final Object value) {
             return map.put(key, value);
         }
-        @SuppressWarnings({ "rawtypes", "unchecked" })
         // we operate on very generic types (<Object, Object>), so there is
         // no need for doing type checks
         @Override



Mime
View raw message