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:
Chris M. Hostetter 2012-02-09 21:20:47 +00:00
parent 4906b8a614
commit 343fead2bc
2 changed files with 4 additions and 4 deletions

View File

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

View File

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