diff --git a/twelvemonkeys-core/src/main/java/com/twelvemonkeys/util/FilterIterator.java b/twelvemonkeys-core/src/main/java/com/twelvemonkeys/util/FilterIterator.java old mode 100755 new mode 100644 index b0420b80..db9d4131 --- a/twelvemonkeys-core/src/main/java/com/twelvemonkeys/util/FilterIterator.java +++ b/twelvemonkeys-core/src/main/java/com/twelvemonkeys/util/FilterIterator.java @@ -64,7 +64,7 @@ public class FilterIterator implements Iterator { * @param pFilter the filter * @see FilterIterator.Filter */ - public FilterIterator(Iterator pIterator, Filter pFilter) { + public FilterIterator(final Iterator pIterator, final Filter pFilter) { if (pIterator == null) { throw new IllegalArgumentException("iterator == null"); } @@ -98,7 +98,7 @@ public class FilterIterator implements Iterator { } /** - * Returns the next element in the interation. + * Returns the next element in the iteration. * * @return the next element in the iteration. * @see FilterIterator.Filter#accept @@ -133,13 +133,13 @@ public class FilterIterator implements Iterator { } /** - * Used to tests wether or not an element fullfils certain criteria, and + * Used to tests whether or not an element fulfills certain criteria, and * hence should be accepted by the FilterIterator instance. */ public static interface Filter { /** - * Tests wether or not the element fullfils certain criteria, and hence + * Tests whether or not the element fulfills certain criteria, and hence * should be accepted. * * @param pElement the element to test