Suppressing unchecked and serial warnings.

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2112 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Sam Brannen
2009-10-14 14:03:11 +00:00
parent c98fb43584
commit 1deb4cb448
3 changed files with 3 additions and 0 deletions
@@ -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");