From 0eda56f86ff4d04ddabf15721ad0cc39c2218a6d Mon Sep 17 00:00:00 2001 From: Florian Frank Date: Wed, 21 Dec 2011 10:54:39 +0100 Subject: Remove superflous comment --- java/src/json/ext/Parser.java | 2 -- java/src/json/ext/Parser.rl | 2 -- 2 files changed, 4 deletions(-) (limited to 'java/src/json/ext') diff --git a/java/src/json/ext/Parser.java b/java/src/json/ext/Parser.java index 579b047..b0573f4 100644 --- a/java/src/json/ext/Parser.java +++ b/java/src/json/ext/Parser.java @@ -1606,8 +1606,6 @@ static final int JSON_array_en_main = 1; "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()); 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()); -- cgit v1.2.1