From f074bed732dbccccf7e4dd2b4414790249358ffd Mon Sep 17 00:00:00 2001 From: theKnightsOfRohan Date: Mon, 16 Oct 2023 17:48:03 -0700 Subject: [PATCH] fix(ParserConfiguration): add params to docs --- src/main/java/org/json/ParserConfiguration.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main/java/org/json/ParserConfiguration.java b/src/main/java/org/json/ParserConfiguration.java index 519e209..36fa508 100644 --- a/src/main/java/org/json/ParserConfiguration.java +++ b/src/main/java/org/json/ParserConfiguration.java @@ -71,7 +71,8 @@ public class ParserConfiguration { * * @param newVal * new value to use for the keepStrings configuration option. - * + * @param the type of the configuration object + * * @return The existing configuration will not be modified. A new configuration is returned. */ public T withKeepStrings(final boolean newVal) { @@ -96,6 +97,8 @@ public class ParserConfiguration { * Using any negative value as a parameter is equivalent to setting no limit to the nesting depth, * which means the parses will go as deep as the maximum call stack size allows. * @param maxNestingDepth the maximum nesting depth allowed to the XML parser + * @param the type of the configuration object + * * @return The existing configuration will not be modified. A new configuration is returned. */ public T withMaxNestingDepth(int maxNestingDepth) {