in-ini: use constant for element name
authorFrantišek Kučera <franta-hg@frantovo.cz>
Tue, 28 Oct 2014 00:33:17 +0100
changeset 102a7f7b9094cc3
parent 101 fd83cd102325
child 103 5e22fa13e016
in-ini: use constant for element name
java/alt2xml-in-ini/src/cz/frantovo/alt2xml/in/ini/Reader.java
     1.1 --- a/java/alt2xml-in-ini/src/cz/frantovo/alt2xml/in/ini/Reader.java	Wed Sep 17 21:31:18 2014 +0200
     1.2 +++ b/java/alt2xml-in-ini/src/cz/frantovo/alt2xml/in/ini/Reader.java	Tue Oct 28 00:33:17 2014 +0100
     1.3 @@ -100,7 +100,7 @@
     1.4  	}
     1.5  
     1.6  	private void outputEnd() throws SAXException {
     1.7 -		contentHandler.endElement(null, null, "ini");
     1.8 +		contentHandler.endElement(null, null, ROOT_ELEMENT);
     1.9  		contentHandler.lineBreak();
    1.10  		contentHandler.endDocument();
    1.11  	}