Cleaned code.
This commit is contained in:
parent
4bc5a8e8c4
commit
931f1e1214
1 changed files with 524 additions and 529 deletions
|
@ -44,7 +44,6 @@ import fr.devinsy.util.xml.XMLTag.TagType;
|
|||
*/
|
||||
public class XMLReader
|
||||
{
|
||||
|
||||
private static final Logger logger = LoggerFactory.getLogger(XMLReader.class);
|
||||
|
||||
protected XMLEventReader in;
|
||||
|
@ -67,7 +66,6 @@ public class XMLReader
|
|||
*/
|
||||
public XMLReader(final File file) throws FileNotFoundException, XMLStreamException
|
||||
{
|
||||
|
||||
this.nextEvent = null;
|
||||
XMLInputFactory factory = XMLInputFactory.newInstance();
|
||||
this.in = factory.createXMLEventReader(new FileInputStream(file), "UTF-8");
|
||||
|
@ -80,7 +78,6 @@ public class XMLReader
|
|||
*/
|
||||
public XMLReader(final InputStream source) throws XMLStreamException
|
||||
{
|
||||
|
||||
this.nextEvent = null;
|
||||
XMLInputFactory factory = XMLInputFactory.newInstance();
|
||||
this.in = factory.createXMLEventReader(source);
|
||||
|
@ -93,7 +90,6 @@ public class XMLReader
|
|||
*/
|
||||
public XMLReader(final Reader source) throws XMLStreamException
|
||||
{
|
||||
|
||||
this.nextEvent = null;
|
||||
XMLInputFactory factory = XMLInputFactory.newInstance();
|
||||
this.in = factory.createXMLEventReader(source);
|
||||
|
@ -542,7 +538,6 @@ public class XMLReader
|
|||
//
|
||||
result = readTag();
|
||||
|
||||
//
|
||||
//
|
||||
if (result == null)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue