Skip to content

Commit 842f5b3

Browse files
committed
Declare serialVersionUID on DefaultAopProxyFactory
Closes gh-27784
1 parent 67a4b63 commit 842f5b3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

spring-aop/src/main/java/org/springframework/aop/framework/DefaultAopProxyFactory.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2015 the original author or authors.
2+
* Copyright 2002-2021 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -43,9 +43,11 @@
4343
* @see AdvisedSupport#setProxyTargetClass
4444
* @see AdvisedSupport#setInterfaces
4545
*/
46-
@SuppressWarnings("serial")
4746
public class DefaultAopProxyFactory implements AopProxyFactory, Serializable {
4847

48+
private static final long serialVersionUID = 7930414337282325166L;
49+
50+
4951
@Override
5052
public AopProxy createAopProxy(AdvisedSupport config) throws AopConfigException {
5153
if (config.isOptimize() || config.isProxyTargetClass() || hasNoUserSuppliedProxyInterfaces(config)) {

0 commit comments

Comments
 (0)