Github user jpountz commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/446#discussion_r215343681
  
    --- Diff: lucene/core/src/java/org/apache/lucene/search/BooleanWeight.java 
---
    @@ -40,28 +39,40 @@
       /** The Similarity implementation. */
       final Similarity similarity;
       final BooleanQuery query;
    -  
    -  final ArrayList<Weight> weights;
    +
    +  private static class WeightedBooleanClause {
    +    BooleanClause clause;
    +    Weight weight;
    --- End diff --
    
    let's make both members final?


---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to