Skip to content

Commit

Permalink
Remove outdated comment
Browse files Browse the repository at this point in the history
The code does use extractModeEncoding now.
  • Loading branch information
headius committed Sep 21, 2024
1 parent 939e666 commit 7dc67d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion ext/java/org/jruby/ext/stringio/StringIO.java
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,6 @@ private void strioInit(ThreadContext context, int argc, IRubyObject arg0, IRubyO
int[] oflags = {0};
int[] fmode = {0};

// TODO: replace with EncodingUtils#extractModeEncoding
IRubyObject options = ArgsUtil.getOptionsArg(runtime, maybeOptions);
IOEncodable.ConvConfig ioEncodable = new IOEncodable.ConvConfig();
if (!options.isNil()) {
Expand Down

0 comments on commit 7dc67d0

Please sign in to comment.