From f59ee6311d18abc3a517ceea9d7608a7c1f4af45 Mon Sep 17 00:00:00 2001 From: Robert Muir Date: Sun, 13 Mar 2011 02:44:56 +0000 Subject: [PATCH] revert hack git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1081033 13f79535-47bb-0310-9956-ffa450edef68 --- lucene/src/java/org/apache/lucene/search/SortField.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lucene/src/java/org/apache/lucene/search/SortField.java b/lucene/src/java/org/apache/lucene/search/SortField.java index f5860ffe272..de10014e8b5 100644 --- a/lucene/src/java/org/apache/lucene/search/SortField.java +++ b/lucene/src/java/org/apache/lucene/search/SortField.java @@ -90,11 +90,7 @@ public class SortField { private String field; private int type; // defaults to determining type dynamically boolean reverse = false; // defaults to natural order - - // 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; - + private CachedArrayCreator creator; public Object missingValue = null; // used for 'sortMissingFirst/Last' // Used for CUSTOM sort