Browse Source

Suppressing unchecked and serial warnings.

pull/23217/head
Sam Brannen 15 years ago
parent
commit
986ccbe2c6
  1. 1
      org.springframework.aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java
  2. 1
      org.springframework.aop/src/main/java/org/springframework/aop/support/DefaultIntroductionAdvisor.java
  3. 1
      org.springframework.core/src/main/java/org/springframework/util/TypeUtils.java

1
org.springframework.aop/src/main/java/org/springframework/aop/framework/AdvisedSupport.java

@ -58,6 +58,7 @@ import org.springframework.util.CollectionUtils; @@ -58,6 +58,7 @@ import org.springframework.util.CollectionUtils;
* @author Juergen Hoeller
* @see org.springframework.aop.framework.AopProxy
*/
@SuppressWarnings("unchecked")
public class AdvisedSupport extends ProxyConfig implements Advised {
/** use serialVersionUID from Spring 2.0 for interoperability */

1
org.springframework.aop/src/main/java/org/springframework/aop/support/DefaultIntroductionAdvisor.java

@ -38,6 +38,7 @@ import org.springframework.util.ClassUtils; @@ -38,6 +38,7 @@ import org.springframework.util.ClassUtils;
* @author Juergen Hoeller
* @since 11.11.2003
*/
@SuppressWarnings({ "unchecked", "serial" })
public class DefaultIntroductionAdvisor implements IntroductionAdvisor, ClassFilter, Ordered, Serializable {
private final Advice advice;

1
org.springframework.core/src/main/java/org/springframework/util/TypeUtils.java

@ -38,6 +38,7 @@ public abstract class TypeUtils { @@ -38,6 +38,7 @@ public abstract class TypeUtils {
* @param rhsType the value type that should be assigned to the target type
* @return true if rhs is assignable to lhs
*/
@SuppressWarnings("unchecked")
public static boolean isAssignable(Type lhsType, Type rhsType) {
Assert.notNull(lhsType, "Left-hand side type must not be null");
Assert.notNull(rhsType, "Right-hand side type must not be null");

Loading…
Cancel
Save