Juergen Hoeller
276e8bb689
Polishing
2019-02-15 17:41:57 +01:00
Juergen Hoeller
76fd1793a8
Avoid log statements between resource opening and returning
...
Issue: SPR-17559
(cherry picked from commit 7854b7ac40 )
2018-12-04 00:13:22 +01:00
Juergen Hoeller
d175d280a0
Backported decoder optimizations and related polishing
...
Includes downgrade to Netty 4.1.31 for StringDecoderTests.
2018-12-03 22:57:00 +01:00
Juergen Hoeller
e6c979606c
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
(cherry picked from commit bf272b0b21 )
2018-11-22 17:43:13 +01:00
Juergen Hoeller
561511f66c
Explicit notes on class/method-level semantics in class hierarchies
...
Issue: SPR-17445
(cherry picked from commit ea3250c8d6 )
2018-11-05 22:33:20 +01:00
Juergen Hoeller
648fa60f48
Transactional timeout documented as seconds in annotation javadoc
...
Issue: SPR-17226
(cherry picked from commit 8c6f3505c4 )
2018-08-31 12:57:12 +02:00
Juergen Hoeller
951b39cc7a
Polishing
2018-08-10 18:00:17 +02:00
Juergen Hoeller
42dbc39032
Polishing
...
(cherry picked from commit 8e571decc1 )
2018-08-09 12:15:23 +02:00
Juergen Hoeller
f3184a0878
Polishing
2018-08-09 00:49:54 +02:00
Kazuhiro Sera
a80f4caf37
Fix typos detected by github.com/client9/misspell
...
(cherry picked from commit be211ceead )
2018-08-09 00:49:27 +02:00
Juergen Hoeller
737ece71ca
Polishing
2018-08-07 02:48:04 +02:00
Juergen Hoeller
a938f528e2
Polishing
2018-08-07 02:41:18 +02:00
Juergen Hoeller
4042c1d578
Polishing
2018-08-07 02:12:00 +02:00
Juergen Hoeller
b6a049a088
Polishing
...
(cherry picked from commit 7c9ba80f85 )
2018-07-26 23:27:28 +02:00
Juergen Hoeller
1cd0135195
Restore original DefaultAdvisorChainFactory MethodMatcher invocation
...
Includes test for @Async pointcut against AOP proxy without target.
2018-07-20 00:33:27 +02:00
Juergen Hoeller
1ab9e2ceda
Polishing
2018-07-04 15:46:52 +02:00
Juergen Hoeller
a631af80c1
Polishing
...
(cherry picked from commit 40efcc9 )
2018-06-28 16:42:14 +02:00
Juergen Hoeller
a2765c009e
Polishing
2018-06-11 18:08:39 +02:00
Johnny Lim
a0d37ac29e
Remove inconsistent spaces
...
(cherry picked from commit fb898e1 )
2018-05-05 12:49:26 +02:00
Juergen Hoeller
8b051ab06e
AopUtils.getMostSpecificMethod exposes dynamic proxy class methods
...
Includes efficient canApply check for IntroductionAwareMethodMatcher.
Issue: SPR-16757
(cherry picked from commit aa11721 )
2018-05-02 16:01:48 +02:00
Juergen Hoeller
eb573d8b9e
Restore original MethodMapTransactionAttributeSource matching rules
...
Issue: SPR-16733
(cherry picked from commit c5b524d )
2018-04-17 13:34:38 +02:00
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 )
2018-04-14 15:49:55 +02:00
Juergen Hoeller
8f7e5e7c1a
Fine-tuned JCA MessageEndpoint exception logging and propagation
...
Issue: SPR-16717
(cherry picked from commit 8e1ecec )
2018-04-12 21:07:44 +02:00
Juergen Hoeller
6102715b8d
Consistent treatment of proxy classes and interfaces for introspection
...
Issue: SPR-16675
Issue: SPR-16677
2018-04-03 02:42:41 +02:00
Juergen Hoeller
d4a8f76bf9
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16488
2018-03-15 15:17:55 +01:00
Juergen Hoeller
df8061494c
TransactionTemplate equality for same transaction manager only
...
Issue: SPR-16572
2018-03-09 09:39:45 +01:00
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
2018-03-08 18:11:57 +01:00
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
2018-03-08 17:57:47 +01:00
Juergen Hoeller
9962df6527
Polishing
2018-02-28 00:09:15 +01:00
igor-suhorukov
7bce04c06c
Polish: combine catches block with same body
2018-02-27 12:51:28 +01:00
igor-suhorukov
49fd724d8f
Polish: String function use should be optimized for single characters
2018-02-25 20:48:47 +01:00
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
2018-02-22 11:29:46 +01:00
Juergen Hoeller
de7ff556d9
Polishing
2018-02-14 17:41:08 +01:00
Juergen Hoeller
3b810f3544
Consistent Class array vs vararg declarations (and related polishing)
2018-02-14 14:44:00 +01:00
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
2018-02-10 17:17:28 +01:00
Juergen Hoeller
0ac117ff27
Explicit notes on isolation level handling in participating transactions
...
Issue: SPR-16463
2018-02-05 22:51:43 +01:00
Juergen Hoeller
9d0e62ef68
Javadoc format and related polishing
2018-01-22 11:43:21 +01:00
Skelotron
b9e03cb06b
SPR-16316 — fix transaction timeout value overflow
2018-01-07 23:48:24 +01:00
Juergen Hoeller
b1c657fa4b
Consistent nullability in DataAccessUtils through nullableSingleResult
...
Issue: SPR-16225
2017-11-26 17:16:39 +01:00
Juergen Hoeller
efe943df72
WebSphereUowTransactionManager logs overridden application exceptions
...
Issue: SPR-16102
2017-10-24 13:14:22 +02:00
Juergen Hoeller
c7100f771c
Explicit notes on advice mode proxy vs aspectj
...
Issue: SPR-16092
2017-10-22 20:34:34 +02:00
Sam Brannen
e9367a11f6
Delete unused import
2017-10-15 16:15:44 +02:00
Robin Wang
d9c0151d41
Fix typo
...
Closes gh-1545
2017-10-01 09:23:07 +02:00
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.
2017-09-24 17:18:21 +02:00
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)
2017-09-23 11:28:19 +02:00
Juergen Hoeller
7ae59d0c2a
Nullability refinements on private and static methods
...
Based on IntelliJ IDEA 2017.3 introspection results.
Issue: SPR-15756
2017-09-22 18:22:14 +02:00
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
2017-09-15 13:26:41 +02:00
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
2017-08-21 14:41:55 +02:00
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
2017-08-18 00:11:35 +02:00
Sebastien Deleuze
73cf07e9a4
Fix overridden methods nullability
...
Issue: SPR-15869
2017-08-17 15:02:59 +02:00