From 7e17584157bfe02fc2f9cb5d8102892297673911 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Fri, 3 Oct 2014 19:12:52 +0200 Subject: Essentially cosmetic changes. --- org/madore/damlengine/DamlEngine.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'org/madore/damlengine') diff --git a/org/madore/damlengine/DamlEngine.java b/org/madore/damlengine/DamlEngine.java index 85ebeed..a0299ad 100644 --- a/org/madore/damlengine/DamlEngine.java +++ b/org/madore/damlengine/DamlEngine.java @@ -7,7 +7,6 @@ import java.util.Properties; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; -import java.io.FileOutputStream; import java.io.OutputStreamWriter; import java.io.BufferedReader; import java.io.PrintStream; @@ -62,7 +61,7 @@ public final class DamlEngine { } } - public static class SelectiveErrorHandler implements XMLErrorHandler { + public static final class SelectiveErrorHandler implements XMLErrorHandler { public void warning(String domain, String key, XMLParseException exc) { System.err.println("warning: line "+exc.getLineNumber() +": "+exc.getMessage()); @@ -158,7 +157,7 @@ public final class DamlEngine { public static Path basePath; public static Path templatePath; - private static interface Processor { + private interface Processor { public void process(OutputStream out) throws Exception; } private static void processWithTemp(Processor p, String outf) -- cgit v1.2.3