mirror of
https://github.com/stleary/JSON-java.git
synced 2025-08-03 11:25:30 -04:00
Remove unused constructor and add comment above other constructor
This commit is contained in:
parent
e430db40aa
commit
4d6de8c00a
@ -20,7 +20,7 @@ public class XMLTokener extends JSONTokener {
|
|||||||
*/
|
*/
|
||||||
public static final java.util.HashMap<String, Character> entity;
|
public static final java.util.HashMap<String, Character> entity;
|
||||||
|
|
||||||
private XMLParserConfiguration configuration = XMLParserConfiguration.ORIGINAL;;
|
private XMLParserConfiguration configuration = XMLParserConfiguration.ORIGINAL;
|
||||||
|
|
||||||
static {
|
static {
|
||||||
entity = new java.util.HashMap<String, Character>(8);
|
entity = new java.util.HashMap<String, Character>(8);
|
||||||
@ -47,14 +47,15 @@ public class XMLTokener extends JSONTokener {
|
|||||||
super(s);
|
super(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Construct an XMLTokener from a Reader and an XMLParserConfiguration.
|
||||||
|
* @param r A source reader.
|
||||||
|
* @param configuration the configuration that can be used to set certain flags
|
||||||
|
*/
|
||||||
public XMLTokener(Reader r, XMLParserConfiguration configuration) {
|
public XMLTokener(Reader r, XMLParserConfiguration configuration) {
|
||||||
super(r);
|
super(r);
|
||||||
this.configuration = configuration;
|
this.configuration = configuration;
|
||||||
}
|
}
|
||||||
public XMLTokener(String s, XMLParserConfiguration configuration) {
|
|
||||||
super(s);
|
|
||||||
this.configuration = configuration;
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the text in the CDATA block.
|
* Get the text in the CDATA block.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user