lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jpountz <...@git.apache.org>
Subject [GitHub] lucene-solr pull request #286: [LUCENE-8075] Possible null pointer dereferen...
Date Wed, 06 Dec 2017 16:41:59 GMT
Github user jpountz commented on a diff in the pull request:

    https://github.com/apache/lucene-solr/pull/286#discussion_r155291224
  
    --- Diff: lucene/core/src/java/org/apache/lucene/codecs/blocktree/IntersectTermsEnum.java
---
    @@ -106,37 +106,37 @@ public IntersectTermsEnum(FieldReader fr, Automaton automaton, RunAutomaton
runA
         if (fr.index == null) {
           fstReader = null;
    --- End diff --
    
    My point was that it seems that fr.index can never be null. So we will never enter this
branch.


---

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org


Mime
View raw message