mirror of https://github.com/apache/lucene.git
SOLR-8871 - added suppress forbidden for toUpperCase usage
This commit is contained in:
parent
96489d2384
commit
a4573fe7f4
|
@ -22,6 +22,7 @@ import org.apache.lucene.search.Query;
|
||||||
import org.apache.solr.common.SolrException;
|
import org.apache.solr.common.SolrException;
|
||||||
import org.apache.solr.common.params.SolrParams;
|
import org.apache.solr.common.params.SolrParams;
|
||||||
import org.apache.solr.common.util.NamedList;
|
import org.apache.solr.common.util.NamedList;
|
||||||
|
import org.apache.solr.common.util.SuppressForbidden;
|
||||||
import org.apache.solr.request.SolrQueryRequest;
|
import org.apache.solr.request.SolrQueryRequest;
|
||||||
import org.apache.solr.response.SolrQueryResponse;
|
import org.apache.solr.response.SolrQueryResponse;
|
||||||
import org.apache.solr.schema.IndexSchema;
|
import org.apache.solr.schema.IndexSchema;
|
||||||
|
@ -59,6 +60,7 @@ public class ClassificationUpdateProcessorFactory extends UpdateRequestProcessor
|
||||||
private SolrParams params;
|
private SolrParams params;
|
||||||
private ClassificationUpdateProcessorParams classificationParams;
|
private ClassificationUpdateProcessorParams classificationParams;
|
||||||
|
|
||||||
|
@SuppressForbidden(reason = "Need toUpperCase to match algorithm enum value")
|
||||||
@Override
|
@Override
|
||||||
public void init(final NamedList args) {
|
public void init(final NamedList args) {
|
||||||
if (args != null) {
|
if (args != null) {
|
||||||
|
|
Loading…
Reference in New Issue