diff --git a/src/main/java/org/json/JSONTokener.java b/src/main/java/org/json/JSONTokener.java index 078e01620..46937e10a 100644 --- a/src/main/java/org/json/JSONTokener.java +++ b/src/main/java/org/json/JSONTokener.java @@ -284,10 +284,11 @@ public char nextClean() throws JSONException { * Backslash processing is done. The formal JSON format does not * allow strings in single quotes, but an implementation is allowed to * accept them. - * If strictMode is true, this implementation will not accept unbalanced quotes (e.g will not accept "test') + * If strictMode is true, this implementation will not accept unbalanced quotes (e.g will not accept "test'). * @param quote The quoting character, either * " (double quote) or * ' (single quote). + * @param strictMode If true, this implementation will not accept unbalanced quotes (e.g will not accept "test'). * @return A String. * @throws JSONException Unterminated string or unbalanced quotes if strictMode == true. */