Skip to content

Commit

Permalink
(#1102) toString() implementation for Immutable iterator
Browse files Browse the repository at this point in the history
  • Loading branch information
scristalli committed Jun 18, 2019
1 parent fe264a4 commit 7e005e4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/org/cactoos/iterator/Immutable.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,8 @@ public T next() {
return this.iterator.next();
}

@Override
public String toString() {
return this.iterator.toString();
}
}

0 comments on commit 7e005e4

Please sign in to comment.