diff options
-rw-r--r-- | org/madore/damlengine/DamlEngine.java | 2 | ||||
-rw-r--r-- | org/madore/damlengine/TodoSubtitleElement.java | 1 | ||||
-rw-r--r-- | org/madore/damlengine/TodoTitleElement.java | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/org/madore/damlengine/DamlEngine.java b/org/madore/damlengine/DamlEngine.java index c146587..06a0303 100644 --- a/org/madore/damlengine/DamlEngine.java +++ b/org/madore/damlengine/DamlEngine.java @@ -44,7 +44,7 @@ public final class DamlEngine { dbf.setNamespaceAware(true); dbf.setValidating(false); final DocumentBuilder db = dbf.newDocumentBuilder(); - db.setEntityResolver((EntityResolver)resolver); + db.setEntityResolver(resolver); if ( args.length == 0 ) { System.err.println("expecting filename as argument"); diff --git a/org/madore/damlengine/TodoSubtitleElement.java b/org/madore/damlengine/TodoSubtitleElement.java index a00a266..05c17fc 100644 --- a/org/madore/damlengine/TodoSubtitleElement.java +++ b/org/madore/damlengine/TodoSubtitleElement.java @@ -28,7 +28,6 @@ public final class TodoSubtitleElement extends TodoDefaultElement { ctx.subtitle = ctx.doc.createDocumentFragment(); ctx.subtitleStr = node.getTextContent(); ctx.subtitleLang = LangHelper.getLangRec(node); - String lang = LangHelper.getLangNorec(node); ArrayList<Node> childList = getChildList(node); for ( Node child : childList ) { ctx.subtitle.appendChild(child); diff --git a/org/madore/damlengine/TodoTitleElement.java b/org/madore/damlengine/TodoTitleElement.java index 8c28ee9..31659e0 100644 --- a/org/madore/damlengine/TodoTitleElement.java +++ b/org/madore/damlengine/TodoTitleElement.java @@ -1,7 +1,6 @@ package org.madore.damlengine; import java.util.ArrayList; -import java.util.regex.Pattern; import org.w3c.dom.*; public final class TodoTitleElement extends TodoDefaultElement { |