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:
Christine Poerschke 2015-12-03 13:07:34 +00:00
parent df9c6a835f
commit 34c65f091a
1 changed files with 0 additions and 2 deletions

View File

@ -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);