commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r1538228 - /commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira61BeanFactory.java
Date Sat, 02 Nov 2013 17:12:39 GMT
Author: oheger
Date: Sat Nov  2 17:12:38 2013
New Revision: 1538228

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

Modified:
    commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira61BeanFactory.java

Modified: commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira61BeanFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira61BeanFactory.java?rev=1538228&r1=1538227&r2=1538228&view=diff
==============================================================================
--- commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira61BeanFactory.java
(original)
+++ commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira61BeanFactory.java
Sat Nov  2 17:12:38 2013
@@ -44,7 +44,7 @@ public class Jira61BeanFactory {
 
         private final String[] indexed = new String[] {"one", "two", "three"};
         private String simple = "FOO";
-        private final Map mapped = new HashMap();
+        private final Map<String, Object> mapped = new HashMap<String, Object>();
 
         /** Default Constructor */
         public TestBean() {



Mime
View raw message