merge r1079712,r1079716 from trunk to fix the docvalues hudson build

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/docvalues@1080963 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Robert Muir 2011-03-12 18:24:35 +00:00
parent ec20e8ab02
commit dee30b64c3
1 changed files with 5 additions and 1 deletions

View File

@ -101,7 +101,11 @@ public class SortField {
private int type; // defaults to determining type dynamically
private Locale locale; // defaults to "natural order" (no Locale)
boolean reverse = false; // defaults to natural order
private CachedArrayCreator<?> creator;
// This is not generified because of a javac bug in early JDK 1.5 (e.g. used by FreeBSD).
// With <?> as type param, getComparator() fails to compile because of cast problems.
@SuppressWarnings("unchecked") private CachedArrayCreator creator;
public Object missingValue = null; // used for 'sortMissingFirst/Last'
// Used for CUSTOM sort