Merge pull request #625 from eujungkim/spr-warning
Clean up warnings in CompoundComparator
This commit is contained in:
commit
0dba70fe15
|
@ -59,7 +59,7 @@ public class CompoundComparator<T> implements Comparator<T>, Serializable {
|
|||
* @param comparators the comparators to build into a compound comparator
|
||||
* @see InvertibleComparator
|
||||
*/
|
||||
@SuppressWarnings({ "unchecked", "rawtypes" })
|
||||
@SuppressWarnings("unchecked")
|
||||
public CompoundComparator(Comparator... comparators) {
|
||||
Assert.notNull(comparators, "Comparators must not be null");
|
||||
this.comparators = new ArrayList<InvertibleComparator>(comparators.length);
|
||||
|
|
Loading…
Reference in New Issue