You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2013/11/02 18:11:27 UTC

svn commit: r1538227 - /commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java

Author: oheger
Date: Sat Nov  2 17:11:27 2013
New Revision: 1538227

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

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

Modified: commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java?rev=1538227&r1=1538226&r2=1538227&view=diff
==============================================================================
--- commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java (original)
+++ commons/proper/beanutils/branches/java5/src/test/java/org/apache/commons/beanutils/bugs/other/Jira18BeanFactory.java Sat Nov  2 17:11:27 2013
@@ -22,7 +22,7 @@ import java.util.Map;
 import org.apache.commons.beanutils.bugs.Jira18TestCase;
 
 /**
- * Factory whcih creates <i>package</i> scope beans with
+ * Factory which creates <i>package</i> scope beans with
  * public methods for {@link Jira18TestCase}.
  *
  * @version $Id$
@@ -43,7 +43,7 @@ public class Jira18BeanFactory {
 
         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 PackageFriendlyBean() {