Skip to content

Commit

Permalink
Update test for AutoCloseIterator (#82)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbygrave authored Nov 26, 2024
1 parent 0736537 commit c3e6297
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
public class AutoCloseIterator<E> implements Iterator<E>, AutoCloseable {

private final Iterator<E> it;
private boolean closed;
private volatile boolean closed;

public AutoCloseIterator(Iterator<E> it) {
this.it = it;
Expand Down

0 comments on commit c3e6297

Please sign in to comment.