From 61dc2644d823060ccc38a235bd2505acf81b4a7a Mon Sep 17 00:00:00 2001 From: Sean Leary Date: Sun, 3 Nov 2024 09:49:50 -0600 Subject: [PATCH] Revert "Merge pull request #886 from Simulant87/884-strictmode-javadoc" This reverts commit 8983ca6da195bd8b7eb9e6655e97a2490d4afa2e, reversing changes made to d02ac0f2a35f8c8ba56230bc4b67275010d4d617. --- src/main/java/org/json/JSONTokener.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/json/JSONTokener.java b/src/main/java/org/json/JSONTokener.java index 46937e1..078e016 100644 --- a/src/main/java/org/json/JSONTokener.java +++ b/src/main/java/org/json/JSONTokener.java @@ -284,11 +284,10 @@ public class JSONTokener { * 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. */