SOLR-8871 - added suppress forbidden for toUpperCase usage

This commit is contained in:
Tommaso Teofili 2016-11-25 01:12:03 +01:00
parent 96489d2384
commit a4573fe7f4
1 changed files with 2 additions and 0 deletions

View File

@ -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) {