SOLR-8995: precommit errors

This commit is contained in:
Noble Paul 2016-09-22 16:43:01 +05:30
parent 262a3ac5c5
commit a9f82a1b45
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,