You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2014/08/07 23:21:12 UTC

[jira] [Created] (LUCENE-5877) SpanQuery subclass fields should be protected and final

David Smiley created LUCENE-5877:
------------------------------------

             Summary: SpanQuery subclass fields should be protected and final
                 Key: LUCENE-5877
                 URL: https://issues.apache.org/jira/browse/LUCENE-5877
             Project: Lucene - Core
          Issue Type: Improvement
            Reporter: David Smiley
            Assignee: David Smiley
            Priority: Minor


I needed access to SpanNearQuery.collectPayloads but annoyingly found it to be private, forcing my subclass to store a copy.  For that matter, I think it's good practice for these fields to be declared final.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

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