summaryrefslogtreecommitdiffstats
path: root/org
diff options
context:
space:
mode:
Diffstat (limited to 'org')
-rw-r--r--org/madore/damlengine/DamlEngine.java2
-rw-r--r--org/madore/damlengine/Resolver.java1
-rw-r--r--org/madore/damlengine/TodoEntryElement.java2
-rw-r--r--org/madore/damlengine/TodoEntryTitleElement.java2
-rw-r--r--org/madore/damlengine/TodoSmileyElement.java1
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 {