Commit Graph

1686 Commits

Author SHA1 Message Date
Juergen Hoeller
8fe530c449 Polishing (backported from 5.2.x) 2020-09-18 18:35:29 +02:00
Juergen Hoeller
55d07566ac Javadoc refinements 2020-09-07 19:15:03 +02:00
Juergen Hoeller
337d5874b1 Properties loading with ignoreResourceNotFound covers SocketException as well
Closes gh-25717

(cherry picked from commit 613b05d814)
2020-09-07 18:06:19 +02:00
Juergen Hoeller
b0b4b47bae Explicit nullability declarations for getTarget() implementations 2020-09-01 23:31:00 +02:00
Juergen Hoeller
eba1aba9f5 Specifically detect Joda-Time 2.x
Closes gh-25655
2020-08-28 22:21:09 +02:00
Juergen Hoeller
3a9896b849 Polishing 2020-08-27 16:28:59 +02:00
Juergen Hoeller
2891dc6409 Polishing 2020-08-27 15:33:08 +02:00
Juergen Hoeller
f7440884c9 Avoid potential integer overflow in seconds->millis transformation
Closes gh-25613
2020-08-27 15:32:54 +02:00
Juergen Hoeller
1a6a4598a1 Populate dependencies metadata for resolved target behind lazy dependency proxy
Closes gh-25562
2020-08-07 21:56:41 +02:00
Juergen Hoeller
bfd20da9de Polishing (backported from 5.2.x) 2020-08-07 14:51:08 +02:00
Juergen Hoeller
ce4001dd40 Refine use of substring operations
Closes gh-25445
2020-08-07 14:50:44 +02:00
Juergen Hoeller
d841af4e37 Avoid unnecessarily alarming stack trace logged during scheduler resolution
Closes gh-23268

(cherry picked from commit 7b6924522a)
2020-07-19 20:04:22 +02:00
Juergen Hoeller
f96a3d5ee1 Polishing 2020-07-17 18:29:08 +02:00
Juergen Hoeller
236eea8de9 Consistent abstract declaration of "Abstract" base classes
Closes gh-25240
2020-06-11 23:59:16 +02:00
Juergen Hoeller
1b6afd52cb Document exception handling limitations in TaskDecorator implementations
Closes gh-25231
2020-06-10 22:57:21 +02:00
Juergen Hoeller
5cb950db3b Support for shared GroovyClassLoader in GroovyScriptFactory
Closes gh-25177
2020-06-06 16:56:47 +02:00
Juergen Hoeller
083dd0e19d Polishing 2020-05-29 16:31:11 +02:00
Juergen Hoeller
9bb534e74c Polishing 2020-05-22 17:34:55 +02:00
Juergen Hoeller
ec915bfd5d Avoid ClassCastException on IllegalArgumentException from sync invocation
Closes gh-25110
2020-05-22 17:18:56 +02:00
Juergen Hoeller
4ad7deda4c Polishing 2020-05-18 15:15:46 +02:00
Juergen Hoeller
2785ef0887 Avoid full synchronization in refreshable getBeanFactory() implementation
Closes gh-25081
2020-05-18 14:37:12 +02:00
Juergen Hoeller
a4cc16051c Polishing 2020-04-27 14:29:56 +02:00
Juergen Hoeller
c8b49346b1 Store source in index-derived ScannedGenericBeanDefinition as well
Includes consistent constructor-level storage of derived resource in ScannedGenericBeanDefinition and ConfigurationClassBeanDefinition.

See gh-24978
2020-04-27 14:29:41 +02:00
Juergen Hoeller
e51f660286 Polishing 2020-03-24 00:56:36 +01:00
Juergen Hoeller
ee832206dc Polishing 2020-03-13 23:41:42 +01:00
Juergen Hoeller
1e295c7bbb Create ScannedGenericBeanDefinitions for index-derived components as well
Closes gh-24638
2020-03-13 23:41:31 +01:00
Juergen Hoeller
1c0a4f8d78 Polishing 2020-02-24 19:34:15 +01:00
Juergen Hoeller
cc376ac5ed Clarify setCacheMillis/setCacheSeconds vs java.util.ResourceBundle
Closes gh-24563
2020-02-24 19:10:25 +01:00
Juergen Hoeller
ebd2ec57fc Polishing 2020-02-12 17:58:26 +01:00
Juergen Hoeller
af75c6db2f Consistent ROLE_INFRASTRUCTURE declarations for configuration classes
Closes gh-24509
2020-02-12 17:18:59 +01:00
Sam Brannen
6699833121 Introduce regression test for gh-24375 2020-01-16 16:34:21 +01:00
Juergen Hoeller
b9bf56e41d Polishing 2020-01-09 16:16:36 +01:00
Juergen Hoeller
f61983d908 Polishing 2019-12-16 17:05:48 +01:00
Juergen Hoeller
4f86282b14 Polishing 2019-12-01 01:55:26 +01:00
Sam Brannen
96a1a0dec5 Convert InstantFormatterTests to JUnit 4
See gh-23895
2019-11-14 12:01:11 +01:00
Sam Brannen
40ac055d11 Polish contribution
See gh-23895
2019-11-14 12:01:11 +01:00
monosoul
c9a6f4282a Inverse condition to fix ISO-formatted Instant parsing
Prior to this commit, InstantFormatter was able to properly serialize
an Instant that is far in the future (or in the past), but it could not
properly deserialize it, because in such scenarios an ISO-formatted
Instant starts with a +/- sign.

This commit fixes this issue, while maintaining the previous contract,
and also introduces tests for InstantFormatter.

Closes gh-23895
2019-11-14 10:10:43 +01:00
Juergen Hoeller
6ed6c08ace Polishing 2019-11-13 23:49:33 +01:00
Juergen Hoeller
e4c57a9b61 Minor internal refinements (backported from master) 2019-11-13 16:53:23 +01:00
Sam Brannen
3d83f869d9 Fix Javadoc for SmartLifecycle.DEFAULT_PHASE regarding ordering
Closes gh-23956
2019-11-09 18:03:43 +01:00
Brian Clozel
feeeab1761 Reorder date formatting converter in registrar
Prior to this commit, the `DateFormatterRegistrar` would register the
annotation-based formatter before the pattern-based formatter. This
would create an issue when an application tries to convert a `String` to
an annotated `@DateTimeFormat Date`: since the converters are considered
in reversed order of registration in
`GenericConversionServicei#ConvertersForPair`, the pattern-based variant
would always be considered before the annotation-based variant,
overriding the developer's opinion.

This commit aligns the `DateFormatterRegistrar` with the
`DateTimeFormatterRegistrar` and registers the annotation-based variant
last.

Closes gh-23896
2019-10-30 17:34:49 +01:00
Juergen Hoeller
b4cf471021 Polishing 2019-10-30 16:45:35 +01:00
Sam Brannen
7d126d3288 Improve documentation regarding "annotated classes"
See gh-23638
2019-09-26 10:26:36 +02:00
Juergen Hoeller
0519a2ff3c Exclude jdk package in ShadowingClassLoader (JDK 11 compatibility)
Closes gh-23641
2019-09-25 12:11:33 +02:00
Juergen Hoeller
6a08bfdff7 Avoid unnecessary synchronization for non-existent missing caches
Closes gh-23635
2019-09-25 12:10:23 +02:00
Phillip Webb
d945ae9191 Add blank line between java and javax imports
See gh-23539

Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
2019-09-16 13:41:59 +02:00
Juergen Hoeller
c4622dbebc Polishing 2019-07-30 16:59:01 +02:00
Juergen Hoeller
b1e8ed182e Polishing 2019-07-20 17:53:54 +02:00
Juergen Hoeller
0d37209b78 Document default message handling in MessageSource.getMessage variants 2019-07-20 16:23:31 +02:00
Juergen Hoeller
f5daa657f4 Polishing 2019-07-17 23:25:50 +02:00