Suppressing unchecked and serial warnings.
This commit is contained in:
parent
17d5b31af3
commit
986ccbe2c6
|
|
@ -58,6 +58,7 @@ import org.springframework.util.CollectionUtils;
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @see org.springframework.aop.framework.AopProxy
|
* @see org.springframework.aop.framework.AopProxy
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
public class AdvisedSupport extends ProxyConfig implements Advised {
|
public class AdvisedSupport extends ProxyConfig implements Advised {
|
||||||
|
|
||||||
/** use serialVersionUID from Spring 2.0 for interoperability */
|
/** use serialVersionUID from Spring 2.0 for interoperability */
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ import org.springframework.util.ClassUtils;
|
||||||
* @author Juergen Hoeller
|
* @author Juergen Hoeller
|
||||||
* @since 11.11.2003
|
* @since 11.11.2003
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings({ "unchecked", "serial" })
|
||||||
public class DefaultIntroductionAdvisor implements IntroductionAdvisor, ClassFilter, Ordered, Serializable {
|
public class DefaultIntroductionAdvisor implements IntroductionAdvisor, ClassFilter, Ordered, Serializable {
|
||||||
|
|
||||||
private final Advice advice;
|
private final Advice advice;
|
||||||
|
|
|
||||||
|
|
@ -38,6 +38,7 @@ public abstract class TypeUtils {
|
||||||
* @param rhsType the value type that should be assigned to the target type
|
* @param rhsType the value type that should be assigned to the target type
|
||||||
* @return true if rhs is assignable to lhs
|
* @return true if rhs is assignable to lhs
|
||||||
*/
|
*/
|
||||||
|
@SuppressWarnings("unchecked")
|
||||||
public static boolean isAssignable(Type lhsType, Type rhsType) {
|
public static boolean isAssignable(Type lhsType, Type rhsType) {
|
||||||
Assert.notNull(lhsType, "Left-hand side type must not be null");
|
Assert.notNull(lhsType, "Left-hand side type must not be null");
|
||||||
Assert.notNull(rhsType, "Right-hand side type must not be null");
|
Assert.notNull(rhsType, "Right-hand side type must not be null");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue