summaryrefslogtreecommitdiff
path: root/java/src
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2021-04-26 09:54:02 +0900
committerGitHub <noreply@github.com>2021-04-26 09:54:02 +0900
commit127f0e286c284812c9cbfe0fe5849d949735f5ef (patch)
treec18f0c04677f58ca81415c8bb82d8924cf4aec30 /java/src
parenta98c72a313483e1a0baebe99d2534904c19faf1f (diff)
parent6ebeeff92f77060082bac1f1afa71687e1cb03dd (diff)
downloadjson-127f0e286c284812c9cbfe0fe5849d949735f5ef.tar.gz
Merge pull request #467 from kamipo/fix_typos
Fix some typos
Diffstat (limited to 'java/src')
-rw-r--r--java/src/json/ext/GeneratorState.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/src/json/ext/GeneratorState.java b/java/src/json/ext/GeneratorState.java
index 7fec09d..a0541d6 100644
--- a/java/src/json/ext/GeneratorState.java
+++ b/java/src/json/ext/GeneratorState.java
@@ -508,7 +508,7 @@ public class GeneratorState extends RubyObject {
/**
* Checks if the current depth is allowed as per this state's options.
* @param context
- * @param depth The corrent depth
+ * @param depth The current depth
*/
private void checkMaxNesting() {
if (maxNesting != 0 && depth > maxNesting) {