Sebastien Deleuze
6266370a7a
Polishing
6 years ago
Sebastien Deleuze
aabfc5f0a1
Support primitive types in BeanUtils.instantiateClass args
...
This commit adds support for primitive default values for
BeanUtils.instantiateClass arguments in Java in order to provide
a consistent behavior in both Java and Kotlin languages.
Closes gh-22531
6 years ago
Juergen Hoeller
a06ab6d0ad
Polishing
6 years ago
Juergen Hoeller
6c87ef09c1
Polishing
6 years ago
stsypanov
60b72d721d
Polish: do simple clean-up
6 years ago
Juergen Hoeller
0b8733747c
Upgrade to SnakeYAML 1.24 and HtmlUnit 2.34.1
6 years ago
Juergen Hoeller
9cc862246f
Local https URL resolution attempt with fallback to parser's default
...
See gh-22504
6 years ago
Juergen Hoeller
7cbb3b06a0
Consistent local vs external resolution of https schema references
...
Closes gh-22504
6 years ago
Juergen Hoeller
eeed20d8d9
Polishing
6 years ago
www
ef91313342
Use String::isEmpty instead of "".equals(arg) when arg is not null
6 years ago
Juergen Hoeller
013c0bca92
Polishing
6 years ago
Sam Brannen
70cf597484
Remove obsolete overview.html files
6 years ago
Sam Brannen
d4f544d42f
Add missing precondition check to AutowireUtils.resolveDependency
...
See gh-2060
6 years ago
Juergen Hoeller
e583da0725
Polishing
6 years ago
Juergen Hoeller
0288878bcc
Consistent handling of early FactoryBean instantiation failures
...
Closes gh-22409
6 years ago
Sam Brannen
f2a5415111
Fix CheckStyle violations
...
See gh-2060
6 years ago
Sam Brannen
6f6be27aae
Polish AutowireUtils[Tests]
...
See gh-2060
6 years ago
Loïc Ledoyen
d77b36bf3b
Open parameter autowiring utility for external use ( #2060 )
...
* Make AutowireUtils public and protect its current API
* Move ParameterAutowireUtils features to AutowireUtils
Closes gh-2060
6 years ago
Sam Brannen
3a42f1154d
Polishing
6 years ago
Juergen Hoeller
490b23518b
Polishing
6 years ago
stsypanov
5e29ea30a3
Use StringJoiner where possible to simplify String joining
6 years ago
Juergen Hoeller
15af0d9787
Polishing
6 years ago
Juergen Hoeller
0b617a8c93
Deprecate PreferencesPlaceholderConfigurer along with its base class
...
Also removing common PropertyPlaceholderConfigurer doc references.
See gh-22181
6 years ago
Juergen Hoeller
e9626779ee
@Resource provides dependency descriptor for resolving beans by name
...
Closes gh-22359
6 years ago
Sebastien Deleuze
d1e5a3af9f
Fix truncated Value#value javadoc
...
Closes gh-22331
6 years ago
Sebastien Deleuze
3787b23a98
Deprecate PropertyPlaceholderConfigurer
...
This commit deprecates PropertyPlaceholderConfigurer in favor of
PropertySourcesPlaceholderConfigurer.
Closes gh-22181
6 years ago
Sebastien Deleuze
0b9522c84e
Migrate Kotlin Mockito tests to Mockk
...
Closes gh-22345
6 years ago
Juergen Hoeller
ca7634dfe8
Avoid duplicate class introspection during findAnnotationOnBean
...
Closes gh-22318
6 years ago
Sam Brannen
0742986e0e
Suppress warnings from tests in Gradle build
6 years ago
Johnny Lim
963cc09c2e
Polish AutowireUtils.EXECUTABLE_COMPARATOR
...
Closes gh-22283
6 years ago
Juergen Hoeller
605e2477b9
Polishing
6 years ago
Juergen Hoeller
f56fa91430
Polishing
6 years ago
Juergen Hoeller
9cb5369cb9
DependencyDescriptor supports TypeDescriptor resolution for fields
...
This allows for proper nested type conversion in @Value Optional fields analogous to method parameters, through a new TypeDescriptor-based method in the TypeConverter SPI. As an additional and less involved measure that is worth backporting, DefaultListableBeanFactory defensively checks for pre-converted Optional wrappers.
Issue: SPR-17607
6 years ago
Michel Schudel
4938dab0ae
Fix XML parser default value handling
...
The xml parser does not fill in defaults provided in the XSD when
validation is disabled. As a result, attributes like default-lazy-init
will not receive the value "default" but an empty string.
With this commit, BeanDefinitionParserDelegate now takes this into
account, checking default values against empty string as well as
"default".
As a consequence, default-lazy-init attribute should now work correctly
even when the XSD validation is disabled.
Issue: SPR-8335
6 years ago
Stephane Nicoll
b83ceab88a
Polish "Refactor duplicate code"
...
Closes gh-1452
6 years ago
diguage
c15bbd675f
Refactor duplicate code
...
See gh-1452
6 years ago
igor-suhorukov
93189a6733
String.indexOf() expressions can be replaced with a call to the String.contains() method available in Java 5 and newer.
6 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
6 years ago
Juergen Hoeller
ebbe14c363
ResolvableType-based matching consistently respects generic factory method return type (even for pre-initialized raw singleton instance)
...
Issue: SPR-17524
6 years ago
Juergen Hoeller
bf272b0b21
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
6 years ago
Juergen Hoeller
f5aeb81473
SerializedBeanFactoryReference falls back to dummy with specific id
...
Issue: SPR-17508
6 years ago
Hanope
bfb49c7249
Fix typos
...
See gh-2019
6 years ago
Juergen Hoeller
40148c0560
Consistent use of ResolvableType.toClass() for assignability checks
...
Issue: SPR-17086
6 years ago
Juergen Hoeller
5cd525a2b0
Enforce use of ClassLoader.loadClass in case of temporary ClassLoader
...
Issue: SPR-17452
6 years ago
Juergen Hoeller
f32e1bcbe3
Polishing
6 years ago
Juergen Hoeller
da23505e94
Clarify FactoryBean initialization effect in getBeanNamesForAnnotation
...
Issue: SPR-17392
6 years ago
Juergen Hoeller
309e70a48e
Separate factory method cache for introspection purposes
...
Issue: SPR-17358
Issue: SPR-8891
6 years ago
Juergen Hoeller
c89e3e6e0d
Restore original factory method caching (addressing Boot regressions)
...
Issue: SPR-17358
6 years ago
Juergen Hoeller
053820c4ff
Polishing
6 years ago
Juergen Hoeller
f662e3b85e
BeanFactoryAnnotationUtils provides qualifiedBeansOfType method
...
Includes consistent upfront resolution of factory method annotations.
Issue: SPR-8891
6 years ago