lucene-java-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From markrmil...@apache.org
Subject svn commit: r783598 - /lucene/java/trunk/src/java/org/apache/lucene/search/FieldComparatorSource.java
Date Thu, 11 Jun 2009 01:45:00 GMT
Author: markrmiller
Date: Thu Jun 11 01:45:00 2009
New Revision: 783598

URL: http://svn.apache.org/viewvc?rev=783598&view=rev
Log:
LUCENE-1598: FieldComparatorSource should be Serializable for back compat with SortComparatorSource

Modified:
    lucene/java/trunk/src/java/org/apache/lucene/search/FieldComparatorSource.java

Modified: lucene/java/trunk/src/java/org/apache/lucene/search/FieldComparatorSource.java
URL: http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/search/FieldComparatorSource.java?rev=783598&r1=783597&r2=783598&view=diff
==============================================================================
--- lucene/java/trunk/src/java/org/apache/lucene/search/FieldComparatorSource.java (original)
+++ lucene/java/trunk/src/java/org/apache/lucene/search/FieldComparatorSource.java Thu Jun
11 01:45:00 2009
@@ -18,6 +18,7 @@
  */
 
 import java.io.IOException;
+import java.io.Serializable;
 
 /**
  * Provides a {@link FieldComparator} for custom field sorting.
@@ -26,7 +27,7 @@
  * incompatible ways in the next release.
  *
  */
-public abstract class FieldComparatorSource {
+public abstract class FieldComparatorSource implements Serializable {
 
   /**
    * Creates a comparator for the field in the given index.



Mime
View raw message