[COLLECTIONS-510] Fix compilation errors with java 8. Thanks to Hollis Waite.
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/collections/trunk@1584898 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
b0e7365e0c
commit
82b547ad25
|
@ -22,6 +22,9 @@
|
|||
<body>
|
||||
|
||||
<release version="4.1" date="TBD" description="">
|
||||
<action issue="COLLECTIONS-510" dev="tn" type="fix" due-to="Hollis Waite">
|
||||
Fix compilation errors when using source level 1.8 and a recent java 8 compiler.
|
||||
</action>
|
||||
<action issue="COLLECTIONS-509" dev="tn" type="fix">
|
||||
Clarified javadoc of "CollectionBag" wrt changes from the original Bag interface.
|
||||
</action>
|
||||
|
|
|
@ -36,7 +36,7 @@ public class ReverseComparator<E> implements Comparator<E>, Serializable {
|
|||
private static final long serialVersionUID = 2858887242028539265L;
|
||||
|
||||
/** The comparator being decorated. */
|
||||
private final Comparator<E> comparator;
|
||||
private final Comparator<? super E> comparator;
|
||||
|
||||
//-----------------------------------------------------------------------
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue