Skip to content

Commit

Permalink
Fix #277: Fix JavaDoc Errors preventing its generation
Browse files Browse the repository at this point in the history
  • Loading branch information
rzo1 committed Nov 15, 2023
1 parent 3c4bc9c commit ac19adc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -225,14 +225,13 @@ public String substring(Span s)
}

/**
* <font color="#ff0000">This function is not implemented !!!</font>
* 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()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
{
Expand Down

0 comments on commit ac19adc

Please sign in to comment.