mirror of https://github.com/apache/lucene.git
SOLR-8995: precommit errors
This commit is contained in:
parent
262a3ac5c5
commit
a9f82a1b45
|
@ -60,7 +60,7 @@ public final class MaxFieldValueUpdateProcessorFactory extends FieldValueSubsetU
|
|||
try {
|
||||
// NOTE: the extra cast to Object is needed to prevent compile
|
||||
// errors on Eclipse Compiler (ecj) used for javadoc lint
|
||||
result = Collections.singletonList(Collections.max(values));
|
||||
result = Collections.singletonList((Object) Collections.max(values));
|
||||
} catch (ClassCastException e) {
|
||||
throw new SolrException
|
||||
(BAD_REQUEST,
|
||||
|
|
|
@ -60,7 +60,7 @@ public final class MinFieldValueUpdateProcessorFactory extends FieldValueSubsetU
|
|||
try {
|
||||
// NOTE: the extra cast to Object is needed to prevent compile
|
||||
// errors on Eclipse Compiler (ecj) used for javadoc lint
|
||||
result = Collections.singletonList(Collections.min(values));
|
||||
result = Collections.singletonList((Object) Collections.min(values));
|
||||
} catch (ClassCastException e) {
|
||||
throw new SolrException
|
||||
(BAD_REQUEST,
|
||||
|
|
Loading…
Reference in New Issue