mirror of https://github.com/apache/lucene.git
SOLR-2802: fix compilation problem rmuir was seeing in his IDE
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1242534 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4906b8a614
commit
343fead2bc
|
@ -53,8 +53,8 @@ public final class MaxFieldValueUpdateProcessorFactory extends FieldValueSubsetU
|
|||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public Collection<Object> pickSubset(Collection<Object> values) {
|
||||
Collection<Object> result = values;
|
||||
public Collection pickSubset(Collection values) {
|
||||
Collection result = values;
|
||||
try {
|
||||
result = Collections.singletonList
|
||||
(Collections.max((Collection)values));
|
||||
|
|
|
@ -53,8 +53,8 @@ public final class MinFieldValueUpdateProcessorFactory extends FieldValueSubsetU
|
|||
|
||||
@Override
|
||||
@SuppressWarnings("unchecked")
|
||||
public Collection<Object> pickSubset(Collection<Object> values) {
|
||||
Collection<Object> result = values;
|
||||
public Collection pickSubset(Collection values) {
|
||||
Collection result = values;
|
||||
try {
|
||||
result = Collections.singletonList
|
||||
(Collections.min((Collection)values));
|
||||
|
|
Loading…
Reference in New Issue