Juergen Hoeller
a4135bac5c
Leniently ignore unsupported pointcut expression
...
See gh-32793
2 years ago
Juergen Hoeller
bf08e0c1b4
Polishing
2 years ago
Juergen Hoeller
9202c0ad41
Accept ajc-compiled @Aspect classes for Spring AOP proxy usage
...
Closes gh-32793
2 years ago
Juergen Hoeller
cbda46984c
Polishing
2 years ago
Juergen Hoeller
39cd31613b
Polishing
2 years ago
Sébastien Deleuze
23696b7db8
Add a classpath check for AOP Coroutines/Reactive conversion
...
Closes gh-32599
2 years ago
Sébastien Deleuze
4a7c24d90f
Refine null-safety
...
See gh-32475
2 years ago
Sébastien Deleuze
290a41d398
Refine null-safety in more modules
...
This commit refines the null-safety in all remaining modules
except spring-test.
See gh-32475
2 years ago
Sébastien Deleuze
1b563f8ba4
Refine null-safety in more modules
...
This commit refines the null-safety in:
- spring-jdbc
- spring-r2dbc
- spring-orm
- spring-beans
- spring-aop
See gh-32475
2 years ago
Juergen Hoeller
c531a8a705
Nullability refinements and related polishing
...
See gh-32475
2 years ago
Stéphane Nicoll
4983a802a7
Polish "Fix Javadoc"
...
See gh-32403
2 years ago
Maksim Sasnouski
abdccffa39
Fix Javadoc
...
This commit fixes various Javadoc issues across the code base.
See gh-32403
2 years ago
Juergen Hoeller
4300fec023
Restore ability to return original method at ClassUtils level as well
...
Closes gh-32365
2 years ago
Juergen Hoeller
24759a75f4
Restore ability to return original method for proxy-derived method
...
Closes gh-32365
2 years ago
Juergen Hoeller
f22a1eece4
Polishing
2 years ago
Sam Brannen
db535863dd
Consistently use class literals for primitive types
...
To improve consistency and avoid confusion regarding primitive types
and their wrapper types, this commit ensures that we always use class
literals for primitive types.
For example, instead of using the `Void.TYPE` constant, we now
consistently use `void.class`.
2 years ago
Sam Brannen
9eae0ba50e
Clean up warnings in build
2 years ago
Juergen Hoeller
c6121da151
Polishing
2 years ago
Juergen Hoeller
89e7174cc4
Share cached interceptors for entire Advised instance if possible
...
Closes gh-32104
2 years ago
Juergen Hoeller
00bda65848
Polishing
2 years ago
Stéphane Nicoll
0c42965fc3
Polish
2 years ago
Stéphane Nicoll
2a43cc7574
Polish
2 years ago
Juergen Hoeller
4d11307b84
Polishing
2 years ago
Juergen Hoeller
03b6e51225
Evaluate thread-bound MethodInvocation only if it matches current Method
...
Closes gh-26068
2 years ago
Stéphane Nicoll
1f2d29ee08
Polish
2 years ago
Juergen Hoeller
419e34e571
Introduce getMostSpecificMethod variant on BridgeMethodResolver
...
This is able to resolve the original method even if no bridge method has been generated at the same class hierarchy level (a known difference between the Eclipse compiler and regular javac).
Closes gh-21843
2 years ago
Juergen Hoeller
43107e7eb1
Propagate arguments for dynamic prototype-scoped advice
...
Closes gh-28407
2 years ago
Stéphane Nicoll
e22d1efdc0
Update copyright year of changed files
...
See gh-31930
2 years ago
Johnny Lim
ff8097d37c
Polish
...
See gh-31930
2 years ago
Juergen Hoeller
fdb454b9a4
Declare JdkDynamicAopProxy's ProxiedInterfacesCache as private
...
See gh-30499
2 years ago
Yanming Zhou
cfa3aa001f
Replace if with switch where feasible
...
See gh-31916
2 years ago
Yanming Zhou
4a450c6fab
Use enhanced for loop where feasible
...
See gh-31916
2 years ago
Yanming Zhou
7474af4f09
Cleanup kotlin sources
...
1. remove unused import
2. remove redundant semicolon
3. remove redundant empty constructor and SAM-constructor
4. remove unnecessary type argument
5. adjust indent
See gh-31913
2 years ago
Sébastien Deleuze
8bd8c4f627
Add support for `@Async` Kotlin function returning `Unit?`
...
Closes gh-31881
2 years ago
Juergen Hoeller
cd11219fa7
Declare proxyMetadataCache as volatile and ProxiedInterfacesCache fields as final
...
See gh-30499
2 years ago
Juergen Hoeller
44c652ec98
Introduce ProxiedInterfacesCache for JdkDynamicAopProxy
...
Closes gh-30499
2 years ago
Stéphane Nicoll
68931a2091
Upgrade copyright year of changed file
...
See gh-31847
2 years ago
achhibi
7f79ccbec0
Combine conditions for better readability and simplicity
2 years ago
Sam Brannen
c0683cd30b
Update copyright headers
2 years ago
Sam Brannen
1c58511cb2
Polishing
2 years ago
Juergen Hoeller
6bb9775309
Declare isStatic and releaseTarget as default methods on TargetSource
...
Closes gh-31820
2 years ago
Sébastien Deleuze
9aded3fcad
Fix a NPE in proxied suspending functions
...
Closes gh-31809
2 years ago
Yanming Zhou
7b16ef90f1
Replace assertThat(x.equals(y)) with assertThat(x).isEqualTo(y)
...
Search for : assertThat\((.+)\.equals\((\w+)\)\)\.isTrue\(\)
Replace with : assertThat($1).isEqualTo($2)
Search for : assertThat\((.+)\.equals\((\w+)\)\)\.isFalse\(\)
Replace with : assertThat($1).isNotEqualTo($2)
Closes gh-31763
2 years ago
Yanming Zhou
e2852e7355
Replace assertThat(x.contains(y)).isTrue() with assertThat(x).contains(y)
...
Search for : assertThat\((.+)\.contains\((.+)\)\)\.isTrue\(\)
Replace with : assertThat($1).contains($2)
Search for : assertThat\((.+)\.contains\((.+)\)\)\.isFalse\(\)
Replace with : assertThat($1).doesNotContain($2)
Closes gh-31762
2 years ago
Yanming Zhou
59815cefce
Replace assertThat(x.get(i)). with assertThat(x).element(i).
...
Search for : assertThat\((.+)\.get\((\d+)\)\)\.
Replace with : assertThat($1).element($2).
Closes gh-31759
2 years ago
Juergen Hoeller
121e3540cc
Clear cached executors in setBeanFactory (for reused AspectJ aspect)
...
Closes gh-28201
2 years ago
Juergen Hoeller
0d8dee2878
Apply fallback for proxy with negative match or annotation pointcut
...
See gh-30534
2 years ago
Yanming Zhou
3a6d0c1d5b
Always fall back to original method if annotation pointcut used
...
Prior to this commit, AspectJExpressionPointcut doesn't fall back to original method if `!@annotation()` is used, it can cause false positive result.
Fix GH-27119
2 years ago
Juergen Hoeller
e5f04e5ddf
Polishing
2 years ago
Juergen Hoeller
99378fe947
Polishing
2 years ago