Suppressing unchecked and serial warnings.
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