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