diff --git a/dkpro-jwpl-parser/src/main/java/org/dkpro/jwpl/parser/mediawiki/SpanManager.java b/dkpro-jwpl-parser/src/main/java/org/dkpro/jwpl/parser/mediawiki/SpanManager.java index dfa4550d..275c1a64 100644 --- a/dkpro-jwpl-parser/src/main/java/org/dkpro/jwpl/parser/mediawiki/SpanManager.java +++ b/dkpro-jwpl-parser/src/main/java/org/dkpro/jwpl/parser/mediawiki/SpanManager.java @@ -225,14 +225,13 @@ public String substring(Span s) } /** - * This function is not implemented !!! + * Note: This function is not implemented! */ public CharSequence subSequence(int start, int end) { // TODO Implementieren - System.err.println("CharSequence subSequence(int start, int end)\nSorry, not Implemented"); - sb.charAt(-1); // causes an error - return null; + throw new UnsupportedOperationException("CharSequence subSequence(int start, int end) " + + "- Sorry, not implemented!"); } public int length() diff --git a/dkpro-jwpl-revisionmachine/src/main/java/org/dkpro/jwpl/revisionmachine/difftool/consumer/dump/codec/SQLEncoder.java b/dkpro-jwpl-revisionmachine/src/main/java/org/dkpro/jwpl/revisionmachine/difftool/consumer/dump/codec/SQLEncoder.java index 16dd6ba7..dcea3093 100644 --- a/dkpro-jwpl-revisionmachine/src/main/java/org/dkpro/jwpl/revisionmachine/difftool/consumer/dump/codec/SQLEncoder.java +++ b/dkpro-jwpl-revisionmachine/src/main/java/org/dkpro/jwpl/revisionmachine/difftool/consumer/dump/codec/SQLEncoder.java @@ -26,7 +26,6 @@ import org.dkpro.jwpl.revisionmachine.common.exceptions.EncodingException; import org.dkpro.jwpl.revisionmachine.common.exceptions.ErrorFactory; import org.dkpro.jwpl.revisionmachine.common.exceptions.ErrorKeys; -import org.dkpro.jwpl.revisionmachine.common.exceptions.LoggingException; import org.dkpro.jwpl.revisionmachine.common.exceptions.SQLConsumerException; import org.dkpro.jwpl.revisionmachine.common.logging.Logger; import org.dkpro.jwpl.revisionmachine.common.logging.messages.consumer.ConsumerLogMessages; @@ -118,8 +117,6 @@ public class SQLEncoder * Reference to the logger * @throws ConfigurationException * if an error occurred while accessing the configuration - * @throws LoggingException - * if an error occurred while accessing the logger */ public SQLEncoder(final Logger logger) throws ConfigurationException {