summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2014-10-03 19:12:52 +0200
committerDavid A. Madore <david+git@madore.org>2014-10-03 19:12:52 +0200
commit7e17584157bfe02fc2f9cb5d8102892297673911 (patch)
tree0299bd649411d583cefa9b80edec9d3da8f7c08f
parentf0e46d3e67ef4142ada2aec2af512e76dfda01e5 (diff)
downloaddamlengine-7e17584157bfe02fc2f9cb5d8102892297673911.tar.gz
damlengine-7e17584157bfe02fc2f9cb5d8102892297673911.tar.bz2
damlengine-7e17584157bfe02fc2f9cb5d8102892297673911.zip
Essentially cosmetic changes.
-rw-r--r--org/madore/damlengine/DamlEngine.java5
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)