From 134d9b8ae58b1e33f6e247d42a2a794d884040f5 Mon Sep 17 00:00:00 2001 From: "David A. Madore" Date: Wed, 27 Apr 2011 16:16:44 +0200 Subject: Irrelevant changes to avoid some warnings by gcj. --- org/madore/damlengine/DamlEngine.java | 2 +- org/madore/damlengine/TodoSubtitleElement.java | 1 - org/madore/damlengine/TodoTitleElement.java | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) (limited to 'org/madore') 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 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 { -- cgit v1.2.3