Apache Lucene open-source search software
add a comment to previous commit, so nobody breaks this by e.g. Eclipse auto-cleanup
Uwe Schindler82c22128be44
diff --git a/lucene/src/java/org/apache/lucene/search/SortField.java b/lucene/src/java/org/apache/lucene/search/SortField.javaindex b17b2247d7f..f5860ffe272 100644--- a/lucene/src/java/org/apache/lucene/search/SortField.java+++ b/lucene/src/java/org/apache/lucene/search/SortField.java@@ -90,7 +90,11 @@ public class SortField {private String field;private int type; // defaults to determining type dynamicallyboolean 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;+public Object missingValue = null; // used for 'sortMissingFirst/Last'// Used for CUSTOM sort