Suppressing unchecked and serial warnings.

This commit is contained in:
Sam Brannen 2009-10-14 14:03:11 +00:00
parent 17d5b31af3
commit 986ccbe2c6
3 changed files with 3 additions and 0 deletions

View File

@ -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 */

View File

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

View File

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