From: Tim P <ti...@us...> - 2010-02-25 23:38:33
|
Update of /cvsroot/webmacro/webmacro/webmacro/src/main/java/org/webmacro/directive In directory sfp-cvsdas-1.v30.ch3.sourceforge.com:/tmp/cvs-serv3732/src/main/java/org/webmacro/directive Modified Files: AlternateDirective.java Log Message: Eclipse warnings Index: AlternateDirective.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/webmacro/src/main/java/org/webmacro/directive/AlternateDirective.java,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** AlternateDirective.java 19 Mar 2008 16:06:20 -0000 1.14 --- AlternateDirective.java 25 Feb 2010 23:38:24 -0000 1.15 *************** *** 160,170 **** class IteratorAlternator extends Alternator { ! private Iterator itr; ! private List list; private int index = -1; ! public IteratorAlternator(Iterator itr) { this.itr = itr; ! this.list = new ArrayList(); } public Object evaluate(Context context) --- 160,170 ---- class IteratorAlternator extends Alternator { ! private Iterator<Object> itr; ! private List<Object> list; private int index = -1; ! public IteratorAlternator(Iterator<Object> itr) { this.itr = itr; ! this.list = new ArrayList<Object>(); } public Object evaluate(Context context) |