LUCENE-7454: unusedPrivateMember removal (DefaultIndexingChain) and tweak (PointInSetQuery)

This commit is contained in:
Christine Poerschke 2016-09-22 18:21:38 +01:00
parent 2124f1250c
commit 1d11d1211c
2 changed files with 1 additions and 3 deletions

View File

@ -641,8 +641,6 @@ final class DefaultIndexingChain extends DocConsumer {
// reused
TokenStream tokenStream;
IndexOptions indexOptions;
public PerField(FieldInfo fieldInfo, boolean invert) {
this.fieldInfo = fieldInfo;
similarity = docState.similarity;

View File

@ -172,7 +172,7 @@ public abstract class PointInSetQuery extends Query {
this.result = result;
this.sortedPackedPoints = sortedPackedPoints;
scratch.length = bytesPerDim;
this.iterator = sortedPackedPoints.iterator();
this.iterator = this.sortedPackedPoints.iterator();
nextQueryPoint = iterator.next();
}