Sam Brannen
9d2e7ced89
Favor Math.[min|max]() over handcrafted code
...
In line with the general trend toward favoring core JDK APIs for common
tasks in Spring Framework 5.2, this commit replaces handcrafted
statements with Math.min() and Math.max() were applicable.
7 years ago
Juergen Hoeller
e3a9826e56
Bypass method traversal for annotation introspection if possible
...
The isCandidateClass mechanism is consistently used for a bypass check before method traversal attempts. While by default this is only bypassing standard java types, the same mechanism can be used with index metadata which indicates non-presence of certain annotations.
See gh-22420
7 years ago
Juergen Hoeller
6c87ef09c1
Polishing
7 years ago
Sam Brannen
70cf597484
Remove obsolete overview.html files
7 years ago
Juergen Hoeller
00ed8da5c5
JmsTransactionManager supports lazy resource retrieval
...
Closes gh-22468
7 years ago
Juergen Hoeller
f07014ad37
MappingJackson2MessageConverter delegates default encoding to Jackson
...
Closes gh-22444
7 years ago
Rossen Stoyanchev
38ae282c3b
Update log category precision for all tests
...
Replace the full category capped at 36 chars with the class name only
and 1 char per package, e.g. org.apache.commons.Foo -> o.a.c.Foo
7 years ago
Juergen Hoeller
106ae0cc5b
Polishing
7 years ago
Juergen Hoeller
7b9c30f26e
Explicit documentation notes on JMS 2.0 vs 1.1 compatibility
...
Issue: SPR-17583
7 years ago
Stephane Nicoll
7b6f2f8fb3
Polish contribution
...
Closes gh-2019
8 years ago
Hanope
bfb49c7249
Fix typos
...
See gh-2019
8 years ago
Juergen Hoeller
dc55da0988
Polishing
8 years ago
Juergen Hoeller
2ec8fa9cac
SmartLifecycle default methods for auto-startup in default phase
...
Issue: SPR-17188
8 years ago
Juergen Hoeller
c4a7567a5e
Post-processors consistently ignore ScopedObject/AopInfrastructureBean
...
JmsListenerAnnotationBeanPostProcessor also ignores JmsListenerContainerFactory and JmsListenerEndpointRegistry, avoiding unnecessary annotation introspection on framework classes.
Issue: SPR-17166
Issue: SPR-16933
8 years ago
Kazuhiro Sera
be211ceead
Fix typos detected by github.com/client9/misspell
8 years ago
Juergen Hoeller
9a43d2ec20
Revised log levels: less WARN and INFO, fine-tuned DEBUG vs TRACE
...
Issue: SPR-16946
8 years ago
Juergen Hoeller
5dc8b5de6d
Polishing
8 years ago
Juergen Hoeller
9efddea5e0
Upgrade to Apache Johnzon 1.1.8 and JCA 1.7.1
8 years ago
Juergen Hoeller
8ad5299f4a
Polishing
8 years ago
Juergen Hoeller
40efcc933c
Polishing
8 years ago
Phillip Webb
634f5c2792
Ensure when equals() is implemented so is hashCode()
...
Update classes that override `equals()` to ensure that they also
implement `hashCode()`.
Issue: SPR-16968
8 years ago
Phillip Webb
0b53c1096a
Always use 'this.' when accessing fields
...
Ensure that `this.` is used consistently when accessing class
fields.
Issue: SPR-16968
8 years ago
Phillip Webb
eeebd51f57
Use consistent class design
...
Update all classes so that inner classes are always last. Also
ensure that utility classes are always final and have a private
constructor and make exceptions final whenever possible.
Issue: SPR-16968
8 years ago
Phillip Webb
04a8c285df
Fix annotation styling issues
...
Update all annotations so that each is on its own line and
consistently use the short form (i.e. don't use `value=`) when
possible.
Issue: SPR-16968
8 years ago
Phillip Webb
e0480f75ac
Fix javadoc checkstyle issues
...
Fix checkstyle violations for javadoc.
Issue: SPR-16968
8 years ago
Juergen Hoeller
8e1ececd97
Fine-tuned JCA MessageEndpoint exception logging and propagation
...
Issue: SPR-16717
8 years ago
Juergen Hoeller
e170cb0f79
Upgrade framework build to JPA 2.2 and JTA 1.3
...
Issue: SPR-16685
8 years ago
Juergen Hoeller
ff53d78e96
Remove bogus DataSource test from JpaTransactionManagerTests
8 years ago
Juergen Hoeller
d553ddc5b3
Nullability refinements (based on IntelliJ IDEA 2018.1 introspection)
...
Issue: SPR-15756
8 years ago
Juergen Hoeller
e3d0ef6015
Use Map.forEach instead of manual Map.Entry iteration wherever possible
...
Issue: SPR-16646
8 years ago
Juergen Hoeller
f00afe3247
Use (Concurrent)Map.computeIfAbsent for lazy nested collection creation
8 years ago
Juergen Hoeller
d4a8f76bf9
Consistent volatile access to running flag in Lifecycle implementations
...
Issue: SPR-16488
8 years ago
Juergen Hoeller
f57fcdee3c
Polishing
8 years ago
Juergen Hoeller
6f7ad0304c
Polishing
8 years ago
igor-suhorukov
8080f56db8
Polish: "@Override" should be used on overriding and implementing methods
8 years ago
Juergen Hoeller
a19d4deb24
Polishing
8 years ago
Juergen Hoeller
9962df6527
Polishing
8 years ago
Juergen Hoeller
95aad9cdc2
Interrupt listener invoker threads on shutdown (after initial wait step)
...
Issue: SPR-16536
8 years ago
igor-suhorukov
d1ccecd021
Polish: to get rid unnecessary array creation
8 years ago
igor-suhorukov
7bce04c06c
Polish: combine catches block with same body
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
95f7180298
Explicit documentation notes on transacted sessions vs AUTO_ACKNOWLEDGE
...
Issue: SPR-16487
8 years ago
igor-suhorukov
7826567df6
Polish: lamdbas containing only one statement should not nest this statement in a block
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
igor-suhorukov
9a6fbf59c5
Polish: follow name convention - make immutable fields final
8 years ago
Juergen Hoeller
b6ecfcf9ec
CachingConnectionFactory makes its Session caching inactive during reset
...
Issue: SPR-16450
8 years ago
Juergen Hoeller
572c668726
Polishing
8 years ago
Juergen Hoeller
65a167f7fd
JmsListenerAnnotationBeanPostProcessor properly deals with nested proxies
...
Issue: SPR-16196
8 years ago
Stephane Nicoll
42dfa40151
Make sure endpoint settings override default factory settings
...
Issue: SPR-16338
8 years ago
Juergen Hoeller
4c9ed0d87e
Polishing
8 years ago