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

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