[
https://issues.apache.org/jira/browse/LUCENE-6947?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15068179#comment-15068179
]
ASF subversion and git services commented on LUCENE-6947:
---------------------------------------------------------
Commit 1721411 from [~jpountz] in branch 'dev/trunk'
[ https://svn.apache.org/r1721411 ]
LUCENE-6947: Hide SortField.missingValue behind a getter.
> SortField.missingValue should not be public
> -------------------------------------------
>
> Key: LUCENE-6947
> URL: https://issues.apache.org/jira/browse/LUCENE-6947
> Project: Lucene - Core
> Issue Type: Task
> Reporter: Adrien Grand
> Assignee: Adrien Grand
> Priority: Minor
> Fix For: Trunk
>
> Attachments: LUCENE-6947.patch
>
>
> 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
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]