commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simonetrip...@apache.org
Subject svn commit: r1130783 - /commons/sandbox/digester3/trunk/src/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java
Date Thu, 02 Jun 2011 20:21:01 GMT
Author: simonetripodi
Date: Thu Jun  2 20:21:01 2011
New Revision: 1130783

URL: http://svn.apache.org/viewvc?rev=1130783&view=rev
Log:
added generics to internal collections

Modified:
    commons/sandbox/digester3/trunk/src/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java

Modified: commons/sandbox/digester3/trunk/src/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java
URL: http://svn.apache.org/viewvc/commons/sandbox/digester3/trunk/src/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java?rev=1130783&r1=1130782&r2=1130783&view=diff
==============================================================================
--- commons/sandbox/digester3/trunk/src/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java
(original)
+++ commons/sandbox/digester3/trunk/src/examples/rss/src/main/java/org/apache/commons/digester3/rss/Channel.java
Thu Jun  2 20:21:01 2011
@@ -41,19 +41,19 @@ public class Channel implements Serializ
     /**
      * The set of items associated with this Channel.
      */
-    protected ArrayList items = new ArrayList();
+    protected ArrayList<Item> items = new ArrayList<Item>();
 
 
     /**
      * The set of skip days for this channel.
      */
-    protected ArrayList skipDays = new ArrayList();
+    protected ArrayList<String> skipDays = new ArrayList<String>();
 
 
     /**
      * The set of skip hours for this channel.
      */
-    protected ArrayList skipHours = new ArrayList();
+    protected ArrayList<String> skipHours = new ArrayList<String>();
 
 
     // ------------------------------------------------------------- Properties



Mime
View raw message