Juergen Hoeller
276e8bb689
Polishing
7 years ago
Juergen Hoeller
76fd1793a8
Avoid log statements between resource opening and returning
...
Issue: SPR-17559
(cherry picked from commit 7854b7ac401af4f332be3e7fff0f16abee7f2b30)
7 years ago
Juergen Hoeller
d175d280a0
Backported decoder optimizations and related polishing
...
Includes downgrade to Netty 4.1.31 for StringDecoderTests.
7 years ago
Juergen Hoeller
e6c979606c
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
(cherry picked from commit bf272b0b21f2fa1b5b90a9b7aeba96c106f5e090)
8 years ago
Juergen Hoeller
561511f66c
Explicit notes on class/method-level semantics in class hierarchies
...
Issue: SPR-17445
(cherry picked from commit ea3250c8d618bf638b69f1917b2cbacfe26b9225)
8 years ago
Juergen Hoeller
648fa60f48
Transactional timeout documented as seconds in annotation javadoc
...
Issue: SPR-17226
(cherry picked from commit 8c6f3505c42efe05120c7acb180497f67cedc026)
8 years ago
Juergen Hoeller
951b39cc7a
Polishing
8 years ago
Juergen Hoeller
42dbc39032
Polishing
...
(cherry picked from commit 8e571decc1 )
8 years ago
Juergen Hoeller
f3184a0878
Polishing
8 years ago
Kazuhiro Sera
a80f4caf37
Fix typos detected by github.com/client9/misspell
...
(cherry picked from commit be211ceead )
8 years ago
Juergen Hoeller
737ece71ca
Polishing
8 years ago
Juergen Hoeller
a938f528e2
Polishing
8 years ago
Juergen Hoeller
4042c1d578
Polishing
8 years ago
Juergen Hoeller
b6a049a088
Polishing
...
(cherry picked from commit 7c9ba80f850464892c141790729559e12a5af6cb)
8 years ago
Juergen Hoeller
1cd0135195
Restore original DefaultAdvisorChainFactory MethodMatcher invocation
...
Includes test for @Async pointcut against AOP proxy without target.
8 years ago
Juergen Hoeller
1ab9e2ceda
Polishing
8 years ago
Juergen Hoeller
a631af80c1
Polishing
...
(cherry picked from commit 40efcc9)
8 years ago
Juergen Hoeller
a2765c009e
Polishing
8 years ago
Johnny Lim
a0d37ac29e
Remove inconsistent spaces
...
(cherry picked from commit fb898e1)
8 years ago
Juergen Hoeller
8b051ab06e
AopUtils.getMostSpecificMethod exposes dynamic proxy class methods
...
Includes efficient canApply check for IntroductionAwareMethodMatcher.
Issue: SPR-16757
(cherry picked from commit aa11721)
8 years ago
Juergen Hoeller
eb573d8b9e
Restore original MethodMapTransactionAttributeSource matching rules
...
Issue: SPR-16733
(cherry picked from commit c5b524d )
8 years ago
Juergen Hoeller
b5922f75bb
AspectJExpressionPointcut consistently resolves superinterface methods
...
Includes efficient check for same ClassLoader in ClassUtils.isVisible, efficient MethodMatchers check for IntroductionAwareMethodMatcher, and supertype method resolution in MethodMapTransactionAttributeSource.
Issue: SPR-16723
(cherry picked from commit b95e05d)
8 years ago
Juergen Hoeller
8f7e5e7c1a
Fine-tuned JCA MessageEndpoint exception logging and propagation
...
Issue: SPR-16717
(cherry picked from commit 8e1ecec)
8 years ago
Juergen Hoeller
6102715b8d
Consistent treatment of proxy classes and interfaces for introspection
...
Issue: SPR-16675
Issue: SPR-16677
8 years ago
Juergen Hoeller
d4a8f76bf9
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16488
8 years ago
Juergen Hoeller
df8061494c
TransactionTemplate equality for same transaction manager only
...
Issue: SPR-16572
8 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
8 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
8 years ago
Juergen Hoeller
9962df6527
Polishing
8 years ago
igor-suhorukov
7bce04c06c
Polish: combine catches block with same body
8 years ago
igor-suhorukov
49fd724d8f
Polish: String function use should be optimized for single characters
8 years ago
Juergen Hoeller
a5cbf5fe24
Consistent use of Collection.toArray with zero-sized array argument
...
Includes consistent use of ClassUtils.toClassArray (as non-null variant)
Issue: SPR-16523
8 years ago
Juergen Hoeller
de7ff556d9
Polishing
8 years ago
Juergen Hoeller
3b810f3544
Consistent Class array vs vararg declarations (and related polishing)
8 years ago
igor-suhorukov
0ee505b73e
Polish: assertion arguments should be passed in the correct order,
...
use assertNull instead of assertEquals(null, value),
declare delta as double value in assertEquals
8 years ago
Juergen Hoeller
0ac117ff27
Explicit notes on isolation level handling in participating transactions
...
Issue: SPR-16463
8 years ago
Juergen Hoeller
9d0e62ef68
Javadoc format and related polishing
8 years ago
Skelotron
b9e03cb06b
SPR-16316 — fix transaction timeout value overflow
8 years ago
Juergen Hoeller
b1c657fa4b
Consistent nullability in DataAccessUtils through nullableSingleResult
...
Issue: SPR-16225
9 years ago
Juergen Hoeller
efe943df72
WebSphereUowTransactionManager logs overridden application exceptions
...
Issue: SPR-16102
9 years ago
Juergen Hoeller
c7100f771c
Explicit notes on advice mode proxy vs aspectj
...
Issue: SPR-16092
9 years ago
Sam Brannen
e9367a11f6
Delete unused import
9 years ago
Robin Wang
d9c0151d41
Fix typo
...
Closes gh-1545
9 years ago
Juergen Hoeller
e2882fe1db
Build against EE 8 API level wherever possible
...
Upgrade to JAXB 2.3, JAX-WS 2.3, Annotations 1.3.1, Interceptor 1.2.1.
Also includes Log4J 2.9.1 and Asciidoctor 1.5.6.
9 years ago
Juergen Hoeller
9190b76ab9
Latest dependency updates (POI 3.17, Rome 1.8, EhCache 3.4, Caffeine 2.5.6, RxJava 2.1.4, Tomcat 8.5.21, JRuby 9.1.13, Rhino 1.7.7.2)
9 years ago
Juergen Hoeller
7ae59d0c2a
Nullability refinements on private and static methods
...
Based on IntelliJ IDEA 2017.3 introspection results.
Issue: SPR-15756
9 years ago
Sebastien Deleuze
1bc93e3d0f
Revisit nullability annotations
...
This commit introduces the following changes.
1) It adds a new Spring @NonNull annotation which allows to apply
@NonNullApi semantic on a specific element, like @Nullable does.
Combined with @Nullable , it allows partial null-safety support when
package granularity is too broad.
2) @Nullable and @NonNull can apply to ElementType.TYPE_USE in order
to be used on generic type arguments (SPR-15942).
3) Annotations does not apply to ElementType.TYPE_PARAMETER anymore
since it is not supported yet (applicability for such use case is
controversial and need to be discussed).
4) @NonNullApi does not apply to ElementType.FIELD anymore since in a
lot of use cases (private, protected) it is not part for the public API
+ its usage should remain opt-in. A dedicated @NonNullFields annotation
has been added in order to set fields default to non-nullable.
5) Updated Javadoc and reference documentation.
Issue: SPR-15756
9 years ago
Brian Clozel
2eeb428e95
Move modules to independent build files
...
The main `build.gradle` file contains now only the common build
infrastructure; all module-specific build configurations have
been moved to their own build file.
Issue: SPR-15885
9 years ago
Juergen Hoeller
b94302b5bd
Enforce non-null value from getBean and at injection points
...
Bean-derived null values may still get passed into bean properties and injection points but only if those are declared as non-required. Note that getBean will never return null; a manual bean.equals(null) / "null".equals(bean.toString()) check identifies expected null values now. This will only ever happen with custom FactoryBeans or factory methods returning null - and since all common cases are handled by autowiring or bean property values in bean definitions, there should be no need to ever manually check for such a null value received from getBean.
Issue: SPR-15829
9 years ago
Sebastien Deleuze
73cf07e9a4
Fix overridden methods nullability
...
Issue: SPR-15869
9 years ago