mirror of
https://github.com/fankes/JSON-java-compat.git
synced 2025-09-09 12:04:28 +08:00
#748 - PR comments - follow convention of configuration builder.
This commit is contained in:
@@ -320,8 +320,9 @@ public class XMLParserConfiguration extends ParserConfiguration {
|
||||
* @return same instance of configuration with empty tag config updated
|
||||
*/
|
||||
public XMLParserConfiguration withCloseEmptyTag(boolean closeEmptyTag){
|
||||
this.closeEmptyTag = closeEmptyTag;
|
||||
return this;
|
||||
XMLParserConfiguration clonedConfiguration = this.clone();
|
||||
clonedConfiguration.closeEmptyTag = closeEmptyTag;
|
||||
return clonedConfiguration;
|
||||
}
|
||||
|
||||
public boolean isCloseEmptyTag() {
|
||||
|
Reference in New Issue
Block a user