src/main/java/gov/usgs/cida/pubs/transform/CrossrefTransformer.java
@Override
	public void end() {
		LOG.trace("writing crossref footer");
		Map<String, Object> model = new HashMap<>();
		try{
			writeModelToTemplate(model, "crossref/footer.ftlx");
			bufferedWriter.flush();
		} catch (IOException | TemplateException e ) {
			throw new RuntimeException("Error writing footer", e);
		} finally {
			closeQuietly(bufferedWriter);
			closeQuietly(streamWriter);
		}
	}
/** output the closing tags and close stuff as appropriate. */
output the closing tags and close stuff as appropriate.
output the closing tags and close stuff as appropriate .
@Override
	public void end() {
		LOG.trace("writing crossref footer");
		Map<String, Object> model = new HashMap<>();
		try{
			writeModelToTemplate(model, "crossref/footer.ftlx");
			bufferedWriter.flush();
		} catch (IOException | TemplateException e ) {
			throw new RuntimeException("Error writing footer", e);
		} finally {
			closeQuietly(bufferedWriter);
			closeQuietly(streamWriter);
		}
	}
@ Override public void end ( ) { LOG . trace ( "writing crossref footer" ) ; Map < String , Object > model = new HashMap < > ( ) ; try { writeModelToTemplate ( model , "crossref/footer.ftlx" ) ; bufferedWriter . flush ( ) ; } catch ( IOException | TemplateException e ) { throw new RuntimeException ( "Error writing footer" , e ) ; } finally { closeQuietly ( bufferedWriter ) ; closeQuietly ( streamWriter ) ; } }
output the closing tags and close stuff as appropriate.
output the closing tags and close stuff as appropriate .