File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ public class XMLTokener extends JSONTokener {
2020 */
2121 public static final java .util .HashMap <String , Character > entity ;
2222
23- private XMLParserConfiguration configuration = XMLParserConfiguration .ORIGINAL ;;
23+ private XMLParserConfiguration configuration = XMLParserConfiguration .ORIGINAL ;
2424
2525 static {
2626 entity = new java .util .HashMap <String , Character >(8 );
@@ -47,14 +47,15 @@ public XMLTokener(String s) {
4747 super (s );
4848 }
4949
50+ /**
51+ * Construct an XMLTokener from a Reader and an XMLParserConfiguration.
52+ * @param r A source reader.
53+ * @param configuration the configuration that can be used to set certain flags
54+ */
5055 public XMLTokener (Reader r , XMLParserConfiguration configuration ) {
5156 super (r );
5257 this .configuration = configuration ;
5358 }
54- public XMLTokener (String s , XMLParserConfiguration configuration ) {
55- super (s );
56- this .configuration = configuration ;
57- }
5859
5960 /**
6061 * Get the text in the CDATA block.
You can’t perform that action at this time.
0 commit comments