mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-02 19:15:27 -04:00
Merge pull request #808 from theKnightsOfRohan/fix-build-messages
Fix compiler warnings
This commit is contained in:
commit
7a85b514a9
@ -71,7 +71,8 @@ public class ParserConfiguration {
|
||||
*
|
||||
* @param newVal
|
||||
* new value to use for the <code>keepStrings</code> configuration option.
|
||||
*
|
||||
* @param <T> the type of the configuration object
|
||||
*
|
||||
* @return The existing configuration will not be modified. A new configuration is returned.
|
||||
*/
|
||||
public <T extends ParserConfiguration> 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 <T> the type of the configuration object
|
||||
*
|
||||
* @return The existing configuration will not be modified. A new configuration is returned.
|
||||
*/
|
||||
public <T extends ParserConfiguration> T withMaxNestingDepth(int maxNestingDepth) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user