diff options
author | Daniel Luz <dev@mernen.com> | 2010-08-07 05:27:53 -0300 |
---|---|---|
committer | Daniel Luz <dev@mernen.com> | 2010-08-07 05:27:53 -0300 |
commit | ad1af511bd6e85e221e4ef42654c7986ef348912 (patch) | |
tree | e38d2cdf49842726be02ae933d79b9772f900fae | |
parent | 4dcb6e093e1f105b4ff9d016cfd8d6c84a3f3254 (diff) | |
download | json-ad1af511bd6e85e221e4ef42654c7986ef348912.tar.gz |
Java: copy depth in State#initialize_copy
-rw-r--r-- | src/json/ext/GeneratorState.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/json/ext/GeneratorState.java b/src/json/ext/GeneratorState.java index d32cebb..c5a8d15 100644 --- a/src/json/ext/GeneratorState.java +++ b/src/json/ext/GeneratorState.java @@ -181,6 +181,7 @@ public class GeneratorState extends RubyObject { this.maxNesting = orig.maxNesting; this.allowNaN = orig.allowNaN; this.asciiOnly = orig.asciiOnly; + this.depth = orig.depth; return this; } |