mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-02 04:09:01 +00:00
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user