lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Adrien Grand (JIRA)" <>
Subject [jira] [Created] (LUCENE-6947) SortField.missingValue should not be public
Date Tue, 22 Dec 2015 13:26:46 GMT
Adrien Grand created LUCENE-6947:

             Summary: SortField.missingValue should not be public
                 Key: LUCENE-6947
             Project: Lucene - Core
          Issue Type: Task
            Reporter: Adrien Grand
            Assignee: Adrien Grand
            Priority: Minor
             Fix For: Trunk

Today we have SortField.setMissingValue that tries to perform validation of the missing value,
except that given that SortField.missingValue is public, it is very easy to bypass it. Let's
make it protected (some sub-classes use it) and add a getter.

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message