diff options
Diffstat (limited to 'org/madore')
-rw-r--r-- | org/madore/damlengine/DamlEngine.java | 5 |
1 files changed, 2 insertions, 3 deletions
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) |