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:
Daniel Naber 2004-10-06 21:01:12 +00:00
parent 251d0f5a54
commit aca15c3e1d
1 changed files with 1 additions and 1 deletions

View File

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