Add since attribute to Deprecated annotation
Also retaining standard Java parameter names for Spring's AspectJ sources now. See gh-29531
This commit is contained in:
parent
459e8a1ea5
commit
beb9fa2b8b
|
|
@ -11,10 +11,16 @@ sourceSets.test.java.srcDirs = files()
|
|||
compileAspectj {
|
||||
sourceCompatibility "17"
|
||||
targetCompatibility "17"
|
||||
ajcOptions {
|
||||
compilerArgs += "-parameters"
|
||||
}
|
||||
}
|
||||
compileTestAspectj {
|
||||
sourceCompatibility "17"
|
||||
targetCompatibility "17"
|
||||
ajcOptions {
|
||||
compilerArgs += "-parameters"
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
|
|
|||
|
|
@ -54,8 +54,9 @@ import org.springframework.util.ClassUtils;
|
|||
* @author Sam Brannen
|
||||
* @since 2.0
|
||||
* @deprecated as of 6.0.1, in favor of {@link StandardReflectionParameterNameDiscoverer}
|
||||
* (with the "-parameters" compiler flag)
|
||||
*/
|
||||
@Deprecated
|
||||
@Deprecated(since = "6.0.1")
|
||||
public class LocalVariableTableParameterNameDiscoverer implements ParameterNameDiscoverer {
|
||||
|
||||
private static final Log logger = LogFactory.getLog(LocalVariableTableParameterNameDiscoverer.class);
|
||||
|
|
|
|||
Loading…
Reference in New Issue