Skip to content

Commit

Permalink
Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
headius committed Sep 24, 2021
1 parent 9f11cbb commit 785a368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/java/org/jruby/ext/stringio/StringIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -685,7 +685,7 @@ private IRubyObject getline(ThreadContext context, final IRubyObject rs, int lim
w = (chomp ? 1 : 0);
break;
}
else if (stringBytes[p] == '\r' && p < e && stringBytes[p + 1] == '\n') {
else if (stringBytes[p] == '\r' && p < e && stringBytes[p + 1] == '\n') {
e = p + 2;
w = (chomp ? 2 : 0);
break;
Expand Down

0 comments on commit 785a368

Please sign in to comment.