[COLLECTIONS-459] Made fields package private, as suggested.

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1494267 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Thomas Neidhart 2013-06-18 19:35:36 +00:00
parent cbfea04200
commit b1162d812e
2 changed files with 8 additions and 8 deletions

View File

@ -38,13 +38,13 @@ import org.apache.commons.collections4.ResettableIterator;
public class ArrayIterator<E> implements ResettableIterator<E> {
/** The array to iterate over */
protected final Object array;
final Object array;
/** The start index to loop from */
protected final int startIndex;
final int startIndex;
/** The end index to loop to */
protected final int endIndex;
final int endIndex;
/** The current iterator index */
protected int index = 0;
int index = 0;
// Constructors
// ----------------------------------------------------------------------

View File

@ -37,13 +37,13 @@ public class ObjectArrayIterator<E>
implements Iterator<E>, ResettableIterator<E> {
/** The array */
protected final E[] array;
final E[] array;
/** The start index to loop from */
protected final int startIndex;
final int startIndex;
/** The end index to loop to */
protected final int endIndex;
final int endIndex;
/** The current iterator index */
protected int index = 0;
int index = 0;
//-------------------------------------------------------------------------
/**