* fixed PMD issue with @Comparator@ implementation

git-svn-id: svn+ssh://svn.synyx.de/var/svn/synyx/opensource/hera/trunk@8598 5a64d73e-33d6-4ccc-9058-23f8668ecac9
This commit is contained in:
Oliver Gierke
2010-01-12 13:42:00 +00:00
parent d20e429879
commit 98335fb78c

View File

@@ -16,6 +16,7 @@
package org.synyx.hera.core;
import java.io.Serializable;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
@@ -215,7 +216,10 @@ public class OrderAwarePluginRegistry<T extends Plugin<S>, S> extends
*
* @author Oliver Gierke - gierke@synyx.de
*/
private static final class RevertingComparator<T> implements Comparator<T> {
private static final class RevertingComparator<T> implements Comparator<T>,
Serializable {
private static final long serialVersionUID = 5296103845985772391L;
private final Comparator<? super T> delegate;