From: Tim P <ti...@us...> - 2008-03-20 20:31:59
|
Update of /cvsroot/webmacro/webmacro/src/org/webmacro/util In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv25425/src/org/webmacro/util Modified Files: ArrayIterator.java Log Message: Checkstyle: Redundant throws Index: ArrayIterator.java =================================================================== RCS file: /cvsroot/webmacro/webmacro/src/org/webmacro/util/ArrayIterator.java,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** ArrayIterator.java 12 Jun 2003 00:47:48 -0000 1.7 --- ArrayIterator.java 20 Mar 2008 20:31:53 -0000 1.8 *************** *** 21,25 **** */ - package org.webmacro.util; --- 21,24 ---- *************** *** 27,33 **** import java.util.NoSuchElementException; - /** ! * This provides an iterator interface to an array */ final public class ArrayIterator implements Iterator --- 26,31 ---- import java.util.NoSuchElementException; /** ! * An Iterator interface to an array. */ final public class ArrayIterator implements Iterator *************** *** 38,42 **** /** ! * Construct an iterator given an enumeration */ public ArrayIterator (Object[] array) --- 36,40 ---- /** ! * Construct an iterator given an enumeration. */ public ArrayIterator (Object[] array) *************** *** 47,51 **** /** ! * Return true if we have not yet reached the end of the enumeration */ final public boolean hasNext () --- 45,49 ---- /** ! * @return true if we have not yet reached the end of the enumeration. */ final public boolean hasNext () *************** *** 58,62 **** * reach the end of the enumeration. */ ! final public Object next () throws NoSuchElementException { if (pos < a.length) --- 56,60 ---- * reach the end of the enumeration. */ ! final public Object next () { if (pos < a.length) *************** *** 71,77 **** /** ! * Unsupported */ ! final public void remove () throws UnsupportedOperationException { throw new UnsupportedOperationException(); --- 69,75 ---- /** ! * Unsupported. */ ! final public void remove () { throw new UnsupportedOperationException(); *************** *** 79,83 **** /** ! * Test harness */ static public void main (String arg[]) --- 77,81 ---- /** ! * Test harness. */ static public void main (String arg[]) |