mirror of
https://github.com/apache/commons-lang.git
synced 2025-02-10 12:05:06 +00:00
Removing RegexTranslator TODO
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1066347 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0c0402cd3d
commit
b9f45d533f
@ -106,7 +106,6 @@ static class CsvEscaper extends CharSequenceTranslator {
|
|||||||
private static final char[] CSV_SEARCH_CHARS =
|
private static final char[] CSV_SEARCH_CHARS =
|
||||||
new char[] {CSV_DELIMITER, CSV_QUOTE, CharUtils.CR, CharUtils.LF};
|
new char[] {CSV_DELIMITER, CSV_QUOTE, CharUtils.CR, CharUtils.LF};
|
||||||
|
|
||||||
// TODO: Replace with a RegexTranslator. That should consume the number of characters the regex uses up?
|
|
||||||
@Override
|
@Override
|
||||||
public int translate(CharSequence input, int index, Writer out) throws IOException {
|
public int translate(CharSequence input, int index, Writer out) throws IOException {
|
||||||
|
|
||||||
@ -176,7 +175,6 @@ static class CsvUnescaper extends CharSequenceTranslator {
|
|||||||
private static final char[] CSV_SEARCH_CHARS =
|
private static final char[] CSV_SEARCH_CHARS =
|
||||||
new char[] {CSV_DELIMITER, CSV_QUOTE, CharUtils.CR, CharUtils.LF};
|
new char[] {CSV_DELIMITER, CSV_QUOTE, CharUtils.CR, CharUtils.LF};
|
||||||
|
|
||||||
// TODO: Replace with a RegexTranslator. That should consume the number of characters the regex uses up?
|
|
||||||
@Override
|
@Override
|
||||||
public int translate(CharSequence input, int index, Writer out) throws IOException {
|
public int translate(CharSequence input, int index, Writer out) throws IOException {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user