diff options
Diffstat (limited to 'src/main/java/com/amazon/carbonado/qe')
-rw-r--r-- | src/main/java/com/amazon/carbonado/qe/PropertyFilterList.java | 2 | ||||
-rw-r--r-- | src/main/java/com/amazon/carbonado/qe/StorableIndexSet.java | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/src/main/java/com/amazon/carbonado/qe/PropertyFilterList.java b/src/main/java/com/amazon/carbonado/qe/PropertyFilterList.java index 279430c..c58aacb 100644 --- a/src/main/java/com/amazon/carbonado/qe/PropertyFilterList.java +++ b/src/main/java/com/amazon/carbonado/qe/PropertyFilterList.java @@ -155,7 +155,7 @@ class PropertyFilterList<S extends Storable> extends AbstractList<PropertyFilter }
private static class PFComparator<S extends Storable>
- implements Comparator<PropertyFilter<S>>
+ implements Comparator<PropertyFilter<S>>, java.io.Serializable
{
public int compare(PropertyFilter<S> a, PropertyFilter<S> b) {
if (a.getOperator() != b.getOperator()) {
diff --git a/src/main/java/com/amazon/carbonado/qe/StorableIndexSet.java b/src/main/java/com/amazon/carbonado/qe/StorableIndexSet.java index 976d5a1..7055b21 100644 --- a/src/main/java/com/amazon/carbonado/qe/StorableIndexSet.java +++ b/src/main/java/com/amazon/carbonado/qe/StorableIndexSet.java @@ -472,7 +472,9 @@ public class StorableIndexSet<S extends Storable> extends TreeSet<StorableIndex< * Orders indexes such that they are grouped by property names. Within
* those groups, indexes are ordered most qualified to least qualified.
*/
- private static class StorableIndexComparator implements Comparator<StorableIndex<?>> {
+ private static class StorableIndexComparator
+ implements Comparator<StorableIndex<?>>, java.io.Serializable
+ {
public int compare(StorableIndex<?> a, StorableIndex<?> b) {
if (a == b) {
return 0;
|