summaryrefslogtreecommitdiff
path: root/java/src/json/ext/Parser.rl
diff options
context:
space:
mode:
Diffstat (limited to 'java/src/json/ext/Parser.rl')
-rw-r--r--java/src/json/ext/Parser.rl2
1 files changed, 0 insertions, 2 deletions
diff --git a/java/src/json/ext/Parser.rl b/java/src/json/ext/Parser.rl
index fd759f5..1c0222c 100644
--- a/java/src/json/ext/Parser.rl
+++ b/java/src/json/ext/Parser.rl
@@ -698,8 +698,6 @@ public class Parser extends RubyObject {
"nesting of " + currentNesting + " is too deep");
}
- // this is guaranteed to be a RubyArray due to the earlier
- // allocator test at OptionsReader#getClass
IRubyObject result;
if (parser.arrayClass == getRuntime().getArray()) {
result = RubyArray.newArray(getRuntime());