I was checking the source code of Lucene and I realized that return values of immutable objects are ignored at CSVUtil.java and Compile.java as follows:
CSVUtil.java:
/**
* Quote and escape input value for CSV
*/
public static String quoteEscape(String original) {
String result = original;
if (result.indexOf('\"') >= 0) {
result.replace("\"", ESCAPED_QUOTE);
}
if(result.indexOf(COMMA) >= 0) {
result = "\"" + result + "\"";
}
return result;
}
Compile.java
if (args.length < 1) {
return;
}
args[0].toUpperCase(Locale.ROOT);
Migrated from LUCENE-5506 by Furkan Kamaci, 1 vote, updated May 09 2016
Attachments: LUCENE-5506.patch
Linked issues:
I was checking the source code of Lucene and I realized that return values of immutable objects are ignored at CSVUtil.java and Compile.java as follows:
CSVUtil.java:
Compile.java
Migrated from LUCENE-5506 by Furkan Kamaci, 1 vote, updated May 09 2016
Attachments: LUCENE-5506.patch
Linked issues: