Skip to content

Commit

Permalink
Add since attribute to Deprecated annotation
Browse files Browse the repository at this point in the history
Also retaining standard Java parameter names for Spring's AspectJ sources now.

See gh-29531
  • Loading branch information
jhoeller committed Nov 22, 2022
1 parent 459e8a1 commit beb9fa2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
6 changes: 6 additions & 0 deletions spring-aspects/spring-aspects.gradle
Expand Up @@ -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 {
Expand Down
Expand Up @@ -54,8 +54,9 @@
* @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);
Expand Down

0 comments on commit beb9fa2

Please sign in to comment.