Skip to content

Commit f7220c4

Browse files
committed
CSV-60 CSVParser.iterator().remove() should throw throw new UnsupportedOperationException()
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/csv/trunk@1300661 13f79535-47bb-0310-9956-ffa450edef68
1 parent 3cb5801 commit f7220c4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/org/apache/commons/csv/CSVParser.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,9 @@ private String[] getNextLine() {
212212
}
213213
}
214214

215-
public void remove() { }
215+
public void remove() {
216+
throw new UnsupportedOperationException();
217+
}
216218
};
217219
}
218220

0 commit comments

Comments
 (0)