[ 
https://issues.apache.org/jira/browse/SOLR-6899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Anshum Gupta resolved SOLR-6899.
--------------------------------
    Resolution: Fixed

> SolrJ CollectionAdminRequest classes should not support public setters for 
> action
> ---------------------------------------------------------------------------------
>
>                 Key: SOLR-6899
>                 URL: https://issues.apache.org/jira/browse/SOLR-6899
>             Project: Solr
>          Issue Type: Bug
>          Components: clients - java, SolrJ
>            Reporter: Anshum Gupta
>            Assignee: Anshum Gupta
>             Fix For: 5.0, Trunk
>
>         Attachments: SOLR-6899.patch
>
>
> There shouldn't be public action setters for the CollectionAdminRequests.
> To elaborate more, a Create object should be able to do just that, doesn't 
> make sense to support/have the following:
> {code}
> Create c = new Create();
> c.setAction("RELOAD");
> {code}
> The implementation could have an action = <custom action> in case of custom 
> actions.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to