commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1539820 - /commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
Date Thu, 07 Nov 2013 21:03:58 GMT
Author: oheger
Date: Thu Nov  7 21:03:58 2013
New Revision: 1539820

URL: http://svn.apache.org/r1539820
Log:
Fixed warnings in test class.

Modified:
    commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java

Modified: commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java?rev=1539820&r1=1539819&r2=1539820&view=diff
==============================================================================
--- commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
(original)
+++ commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/PropsFirstPropertyUtilsBean.java
Thu Nov  7 21:03:58 2013
@@ -16,9 +16,9 @@
  */
 package org.apache.commons.beanutils;
 
-import java.util.Map;
 import java.beans.PropertyDescriptor;
 import java.lang.reflect.InvocationTargetException;
+import java.util.Map;
 
 /**
  * A PropertyUtilsBean which customises the behaviour of the
@@ -40,7 +40,7 @@ public class PropsFirstPropertyUtilsBean
      * be correctly handled.
      */
     @Override
-    protected Object getPropertyOfMapBean(Map bean, String propertyName)
+    protected Object getPropertyOfMapBean(Map<?, ?> bean, String propertyName)
     throws IllegalAccessException, InvocationTargetException, NoSuchMethodException {
 
         PropertyDescriptor descriptor = getPropertyDescriptor(bean, propertyName);
@@ -60,7 +60,7 @@ public class PropsFirstPropertyUtilsBean
      * be correctly handled.
      */
     @Override
-    protected void setPropertyOfMapBean(Map bean, String propertyName, Object value)
+    protected void setPropertyOfMapBean(Map<String, Object> bean, String propertyName,
Object value)
         throws IllegalAccessException, InvocationTargetException, NoSuchMethodException {
         PropertyDescriptor descriptor = getPropertyDescriptor(bean, propertyName);
         if (descriptor == null) {



Mime
View raw message