mirror of https://github.com/apache/lucene.git
LUCENE-6910: remove line.length(); statement in TrecContentSource.java (https://scan.coverity.com/projects/5620 CID 120628)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717756 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
df9c6a835f
commit
34c65f091a
|
@ -147,8 +147,6 @@ public class TrecContentSource extends ContentSource {
|
|||
continue;
|
||||
}
|
||||
|
||||
line.length();
|
||||
|
||||
if (lineStart!=null && line.startsWith(lineStart)) {
|
||||
if (collectMatchLine) {
|
||||
buf.append(sep).append(line);
|
||||
|
|
Loading…
Reference in New Issue