diff --git a/src_run/tbrugz/sqldump/sqlrun/tokenzr/TokenizerStrategy.java b/src_run/tbrugz/sqldump/sqlrun/tokenzr/TokenizerStrategy.java index 80649abc..95292452 100644 --- a/src_run/tbrugz/sqldump/sqlrun/tokenzr/TokenizerStrategy.java +++ b/src_run/tbrugz/sqldump/sqlrun/tokenzr/TokenizerStrategy.java @@ -66,6 +66,7 @@ else if(STMT_PARSER_TOKENIZER_CLASS.equals(tokenizer)) { } } + @SuppressWarnings("deprecation") public static Tokenizer getTokenizer(TokenizerStrategy tokenizerStrategy, File file, String inputEncoding, boolean escapeBackslashedApos, boolean split) throws IOException { //log.debug("getTokenizer: strategy="+tokenizerStrategy+" ; charset = "+inputEncoding); if(!split) { @@ -91,6 +92,7 @@ public static Tokenizer getTokenizer(TokenizerStrategy tokenizerStrategy, File f case STMT_TOKENIZER: return new SQLStmtTokenizer(fileStr); case STRING_SPLITTER: + log.warn("Strategy "+tokenizerStrategy+" is deprecated"); return new StringSpliter(fileStr); //case NO_TOKENIZER: // return new NoSplitTokenizer(fileStr); diff --git a/src_test/tbrugz/sqldump/sqlrun/SQLTokenizersTest.java b/src_test/tbrugz/sqldump/sqlrun/SQLTokenizersTest.java index cff62e75..b9f5b6ff 100644 --- a/src_test/tbrugz/sqldump/sqlrun/SQLTokenizersTest.java +++ b/src_test/tbrugz/sqldump/sqlrun/SQLTokenizersTest.java @@ -5,7 +5,6 @@ import org.junit.Assert; import org.junit.Assume; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized;