java/xmlreader/src/main/java/be/bosa/dt/best/xmlreader/AbstractXMLReader.java
/**
	 * Gracefully close the XML reader and other input streams
	 */
Gracefully close the XML reader and other input streams
Gracefully close the XML reader and other input streams
public void closeReader() {
		if (reader != null) {
			try {
				reader.close();
			} catch (XMLStreamException xse) {
				LOG.log(Level.WARNING, "Error closing reader", xse);
			}
		}
		if (bis != null) {
			try {
				bis.close();
			} catch (IOException ioe) {
				LOG.log(Level.WARNING, "Error closing buffered input stream", ioe);
			}
		}
	}
public void closeReader ( ) { if ( reader != null ) { try { reader . close ( ) ; } catch ( XMLStreamException xse ) { LOG . log ( Level . WARNING , "Error closing reader" , xse ) ; } } if ( bis != null ) { try { bis . close ( ) ; } catch ( IOException ioe ) { LOG . log ( Level . WARNING , "Error closing buffered input stream" , ioe ) ; } } }
Gracefully close the XML reader and other input streams
Gracefully close the XML reader and other input streams
// do nothing