Browse Source

Remove unnecessary @SupressWarnings.

pull/625/head
eujung kim 10 years ago
parent
commit
c315adf72d
  1. 2
      spring-core/src/main/java/org/springframework/util/comparator/CompoundComparator.java

2
spring-core/src/main/java/org/springframework/util/comparator/CompoundComparator.java

@ -59,7 +59,7 @@ public class CompoundComparator<T> implements Comparator<T>, Serializable { @@ -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…
Cancel
Save