commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From brit...@apache.org
Subject svn commit: r1456799 - /commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira422TestCase.java
Date Fri, 15 Mar 2013 08:40:47 GMT
Author: britter
Date: Fri Mar 15 08:40:46 2013
New Revision: 1456799

URL: http://svn.apache.org/r1456799
Log:
Use List interface instead of implementation class

Modified:
    commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira422TestCase.java

Modified: commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira422TestCase.java
URL: http://svn.apache.org/viewvc/commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira422TestCase.java?rev=1456799&r1=1456798&r2=1456799&view=diff
==============================================================================
--- commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira422TestCase.java
(original)
+++ commons/proper/beanutils/trunk/src/test/java/org/apache/commons/beanutils/bugs/Jira422TestCase.java
Fri Mar 15 08:40:46 2013
@@ -16,12 +16,12 @@
  */
 package org.apache.commons.beanutils.bugs;
 
-import org.apache.commons.beanutils.PropertyUtils;
-
-import java.util.ArrayList;
+import java.util.List;
 
 import junit.framework.TestCase;
 
+import org.apache.commons.beanutils.PropertyUtils;
+
 /**
  * getPropertyType return null on second descendant class
  *
@@ -49,13 +49,13 @@ public class Jira422TestCase extends Tes
 
 class RootBean {
 
-    private ArrayList file;
+    private List file;
 
-    public ArrayList getFile() {
+    public List getFile() {
         return file;
     }
 
-    public void setFile(ArrayList file) {
+    public void setFile(List file) {
         this.file = file;
     }
 



Mime
View raw message