You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/05/25 00:15:13 UTC

[jira] [Commented] (SOLR-9119) ValueSourceParser.addParser should be private

    [ https://issues.apache.org/jira/browse/SOLR-9119?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15299209#comment-15299209 ] 

ASF subversion and git services commented on SOLR-9119:
-------------------------------------------------------

Commit e9f65fe0f8d2cf6fecdf5b3ba08adc71c0bc16be in lucene-solr's branch refs/heads/master from Chris Hostetter
[ https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;h=e9f65fe ]

SOLR-9119: several static methods in ValueSourceParser have been made private


> ValueSourceParser.addParser should be private
> ---------------------------------------------
>
>                 Key: SOLR-9119
>                 URL: https://issues.apache.org/jira/browse/SOLR-9119
>             Project: Solr
>          Issue Type: Bug
>            Reporter: Hoss Man
>            Assignee: Hoss Man
>             Fix For: 6.1, master (7.0)
>
>         Attachments: SOLR-9119.patch
>
>
> these static helper methods should only be used by the static init code in the same class for registering the default list of valuesource parsers.  Plugin writters should never use these -- the fact that they are public is dangerous and leaves us open to bugs if/when plugin writers (or tests) try to use them and may affect other cores/collections in the same JVM.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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