From 7dc67d0087aabdc32b8c1dc624c6154935a9197d Mon Sep 17 00:00:00 2001 From: Charles Oliver Nutter Date: Sat, 21 Sep 2024 09:18:14 -0500 Subject: [PATCH] Remove outdated comment The code does use extractModeEncoding now. --- ext/java/org/jruby/ext/stringio/StringIO.java | 1 - 1 file changed, 1 deletion(-) diff --git a/ext/java/org/jruby/ext/stringio/StringIO.java b/ext/java/org/jruby/ext/stringio/StringIO.java index 8505664..fef0da8 100644 --- a/ext/java/org/jruby/ext/stringio/StringIO.java +++ b/ext/java/org/jruby/ext/stringio/StringIO.java @@ -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()) {