diff --git a/src/changes/changes.xml b/src/changes/changes.xml index b99374315..d90ba2bdf 100644 --- a/src/changes/changes.xml +++ b/src/changes/changes.xml @@ -22,6 +22,9 @@ + + Fix compilation errors when using source level 1.8 and a recent java 8 compiler. + Clarified javadoc of "CollectionBag" wrt changes from the original Bag interface. diff --git a/src/main/java/org/apache/commons/collections4/comparators/ReverseComparator.java b/src/main/java/org/apache/commons/collections4/comparators/ReverseComparator.java index 10a0a8124..ebdbd8667 100644 --- a/src/main/java/org/apache/commons/collections4/comparators/ReverseComparator.java +++ b/src/main/java/org/apache/commons/collections4/comparators/ReverseComparator.java @@ -36,7 +36,7 @@ public class ReverseComparator implements Comparator, Serializable { private static final long serialVersionUID = 2858887242028539265L; /** The comparator being decorated. */ - private final Comparator comparator; + private final Comparator comparator; //----------------------------------------------------------------------- /**