Merge pull request #625 from eujungkim/spr-warning

Clean up warnings in CompoundComparator
This commit is contained in:
Sam Brannen 2014-08-18 10:16:26 +02:00
commit 0dba70fe15
1 changed files with 1 additions and 1 deletions

View File

@ -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);