Skip to content

Commit

Permalink
Replaced with enhanced for
Browse files Browse the repository at this point in the history
  • Loading branch information
k163377 committed Aug 12, 2023
1 parent 68ff7fe commit 45411ee
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -194,8 +194,8 @@ public SequenceWriter write(Object value, JavaType type) throws IOException

public SequenceWriter writeAll(Object[] value) throws IOException
{
for (int i = 0, len = value.length; i < len; ++i) {
write(value[i]);
for (Object o : value) {
write(o);
}
return this;
}
Expand Down

0 comments on commit 45411ee

Please sign in to comment.