summaryrefslogtreecommitdiffstats
path: root/org
diff options
context:
space:
mode:
authorDavid A. Madore <david+git@madore.org>2011-04-27 16:16:44 +0200
committerDavid A. Madore <david+git@madore.org>2011-04-27 16:16:44 +0200
commit134d9b8ae58b1e33f6e247d42a2a794d884040f5 (patch)
treeb6109738a1cac807a042724c6cd7a3f4cbb1cfaf /org
parenta9d7361ee110a79e29d849a4c7876a2738c509fe (diff)
downloaddamlengine-134d9b8ae58b1e33f6e247d42a2a794d884040f5.tar.gz
damlengine-134d9b8ae58b1e33f6e247d42a2a794d884040f5.tar.bz2
damlengine-134d9b8ae58b1e33f6e247d42a2a794d884040f5.zip
Irrelevant changes to avoid some warnings by gcj.
Diffstat (limited to 'org')
-rw-r--r--org/madore/damlengine/DamlEngine.java2
-rw-r--r--org/madore/damlengine/TodoSubtitleElement.java1
-rw-r--r--org/madore/damlengine/TodoTitleElement.java1
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 {