diff options
author | David A. Madore <david+git@madore.org> | 2011-08-26 15:01:50 +0200 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2011-08-26 15:01:50 +0200 |
commit | 7077d9d7bafdf6ce05e86bf4439cddc17553a487 (patch) | |
tree | 54156f60630301e37fe81edb44a2de448c077496 /org/madore | |
parent | d0aff8ce86b968cb9add39facad924385fafa292 (diff) | |
download | damlengine-7077d9d7bafdf6ce05e86bf4439cddc17553a487.tar.gz damlengine-7077d9d7bafdf6ce05e86bf4439cddc17553a487.tar.bz2 damlengine-7077d9d7bafdf6ce05e86bf4439cddc17553a487.zip |
Quiet gcj warnings.
Diffstat (limited to 'org/madore')
-rw-r--r-- | org/madore/damlengine/DamlEngine.java | 2 | ||||
-rw-r--r-- | org/madore/damlengine/Resolver.java | 1 | ||||
-rw-r--r-- | org/madore/damlengine/TodoEntryElement.java | 2 | ||||
-rw-r--r-- | org/madore/damlengine/TodoEntryTitleElement.java | 2 | ||||
-rw-r--r-- | org/madore/damlengine/TodoSmileyElement.java | 1 |
5 files changed, 3 insertions, 5 deletions
diff --git a/org/madore/damlengine/DamlEngine.java b/org/madore/damlengine/DamlEngine.java index 06a0303..69403f7 100644 --- a/org/madore/damlengine/DamlEngine.java +++ b/org/madore/damlengine/DamlEngine.java @@ -4,7 +4,7 @@ import java.io.OutputStreamWriter; import javax.xml.parsers.DocumentBuilderFactory; import javax.xml.parsers.DocumentBuilder; import org.w3c.dom.Document; -import org.xml.sax.EntityResolver; +// import org.xml.sax.EntityResolver; import org.apache.xerces.jaxp.DocumentBuilderFactoryImpl; public final class DamlEngine { diff --git a/org/madore/damlengine/Resolver.java b/org/madore/damlengine/Resolver.java index e04d1b2..fa2f188 100644 --- a/org/madore/damlengine/Resolver.java +++ b/org/madore/damlengine/Resolver.java @@ -93,6 +93,7 @@ public final class Resolver } } + @SuppressWarnings("unused") // namespaceURI parameter is unused protected String resolve(String namespaceURI, String publicId, String systemId, diff --git a/org/madore/damlengine/TodoEntryElement.java b/org/madore/damlengine/TodoEntryElement.java index a67e770..7e6f384 100644 --- a/org/madore/damlengine/TodoEntryElement.java +++ b/org/madore/damlengine/TodoEntryElement.java @@ -42,7 +42,7 @@ public final class TodoEntryElement extends TodoDefaultElement { throw new IllegalArgumentException("title date attribute must be of the form YYYY-MM-DD"); String entryYearStr = entryDateMatcher.group(1); String entryMonthStr = entryDateMatcher.group(2); - String entryDayStr = entryDateMatcher.group(3); + // String entryDayStr = entryDateMatcher.group(3); String entryDowStr = node.getAttributeNS(null, "day_of_week"); String entryIdStr = "d."+entryDateStr+"."+entryNumberStr; diff --git a/org/madore/damlengine/TodoEntryTitleElement.java b/org/madore/damlengine/TodoEntryTitleElement.java index 26f8670..e5da837 100644 --- a/org/madore/damlengine/TodoEntryTitleElement.java +++ b/org/madore/damlengine/TodoEntryTitleElement.java @@ -1,8 +1,6 @@ package org.madore.damlengine; import java.util.ArrayList; -import java.util.regex.Pattern; -import java.util.regex.Matcher; import org.w3c.dom.*; public final class TodoEntryTitleElement extends TodoDefaultElement { diff --git a/org/madore/damlengine/TodoSmileyElement.java b/org/madore/damlengine/TodoSmileyElement.java index 20eec1c..6bf6faf 100644 --- a/org/madore/damlengine/TodoSmileyElement.java +++ b/org/madore/damlengine/TodoSmileyElement.java @@ -1,6 +1,5 @@ package org.madore.damlengine; -import java.util.regex.Pattern; import org.w3c.dom.*; public final class TodoSmileyElement extends TodoDefaultElement { |