mirror of https://github.com/apache/lucene.git
call static methods via class, not via object (better style, no functional change)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150575 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
251d0f5a54
commit
aca15c3e1d
|
@ -62,7 +62,7 @@ final class TermScorer extends Scorer {
|
|||
|
||||
protected boolean score(HitCollector c, int end) throws IOException {
|
||||
Similarity similarity = getSimilarity(); // cache sim in local
|
||||
float[] normDecoder = similarity.getNormDecoder();
|
||||
float[] normDecoder = Similarity.getNormDecoder();
|
||||
while (doc < end) { // for docs in window
|
||||
int f = freqs[pointer];
|
||||
float score = // compute tf(f)*weight
|
||||
|
|
Loading…
Reference in New Issue