Sam Brannen
57b771ba92
Move common FactoryMethods to spring-beans test fixtures
...
See gh-23550
6 years ago
Sam Brannen
94f8ef08e2
Move common TestPrincipal to spring-core test fixtures
...
See gh-23550
6 years ago
Sam Brannen
7cd4ddf5fc
Rename test fixture package in spring-beans
...
See gh-23550
6 years ago
Sam Brannen
4260c34b47
Rename test fixture package in spring-core
...
See gh-23550
6 years ago
Sam Brannen
61d4ee594d
Use Gradle test fixture support for spring-beans and spring-context
...
See gh-23550
6 years ago
Sam Brannen
5718bf424b
Use Gradle test fixture support for spring-core
...
See gh-23550
6 years ago
Juergen Hoeller
fa8f08391f
Consistent use of annotation-api dependency instead of tomcat-embed-core
6 years ago
Juergen Hoeller
9af8dc0980
Polishing
6 years ago
Johnny Lim
8ac222467b
Short-circuit boolean logic in AbstractBeanDefinition.equals()
...
Closes gh-24185
6 years ago
stsypanov
484006ce90
Hoist Class.getName() from String concatenation to dodge an issue related to profile pollution
6 years ago
Juergen Hoeller
32e7adfa32
Polishing
6 years ago
Juergen Hoeller
91b557eb4b
Polishing
6 years ago
Sam Brannen
d9ebc3bbc4
Polish StringArrayPropertyEditor[Tests]
6 years ago
stsypanov
62ca7c4e8f
Hoist constant byte[] out of loop
6 years ago
Sam Brannen
59e250c93c
Consistent use of SCOPE_PROTOTYPE and SCOPE_SINGLETON constants
...
Closes gh-19905
6 years ago
Juergen Hoeller
b5529f3f2b
Restore short-circuiting in equals implementation
...
Closes gh-24048
6 years ago
stsypanov
1f3b595a03
Use String.isEmpty() instead of String.equals("")
6 years ago
Qimiao Chen
bb2e3ce6d1
Polish AbstractBeanDefinition
...
Closes gh-24048
6 years ago
Sam Brannen
d397baa559
Polish Javadoc for AutowiredAnnotationBeanPostProcessor
6 years ago
SchutzeHades
834ebc44f8
Fix inappropriate eager init.
6 years ago
Juergen Hoeller
22211a01ce
Polishing
6 years ago
GungnirLaevatain
4bbf2d5785
polish
6 years ago
stsypanov
92efe95069
Simplify ConstructorResolver: do not sort intermediate array
6 years ago
Qimiao Chen
9b8da04e64
Delete unnecessary variable assignment
...
Closes gh-23955
6 years ago
Juergen Hoeller
6a48bb7b4d
Polishing
6 years ago
stsypanov
f5ae3c77c6
Use Method::getParameterCount where possible
6 years ago
Sam Brannen
29b31cad48
Align implementations of StringToUUIDConverter and UUIDEditor
...
Closes gh-23940
6 years ago
Sam Brannen
9f00eb68e9
Clean up warnings
6 years ago
Juergen Hoeller
248ad0fa79
Expose primary flag on BeanDefinitionBuilder
...
Closes gh-23794
6 years ago
Sam Brannen
2482209437
Polish Javadoc @param order
6 years ago
Sam Brannen
26ee9c68eb
Document [Priority]Ordered support for Bean[Factory]PostProcessor
...
Prior to this commit, it was not clear from the Javadoc for
BeanPostProcess and BeanFactoryPostProcessor that such components can
be ordered by implementing Ordered or PriorityOrdered.
This commit improves the documentation for BPP and BFPP to make this
support explicit.
Closes gh-23636
6 years ago
Juergen Hoeller
47a24ac378
Upgrade to Aalto 1.2.2, Protobuf 3.10, Apache Johnzon 1.2, SnakeYAML 1.25, OpenPDF 1.3.11, FreeMarker 2.3.29
6 years ago
Juergen Hoeller
07df1ce7d2
Update genericBeanDefinitionEquality test to AssertJ usage on master
...
See gh-23593
6 years ago
Juergen Hoeller
bb6f9bb6d4
Polishing
6 years ago
Juergen Hoeller
da44a247cb
Efficient concurrency in MethodOverrides through CopyOnWriteArraySet
...
Also restores immediate MethodOverrides instance in AbstractBeanDefinition, avoiding potential lazy-init race condition.
Closes gh-23448
6 years ago
Juergen Hoeller
20fc7e178a
Consistent equality check for parent name and indexed arguments
...
Closes gh-23593
6 years ago
Juergen Hoeller
e68132686d
Restore lenient target type handling for FactoryBean definitions
...
Closes gh-23561
6 years ago
Sam Brannen
a51dc84cb1
Fix Checkstyle violation
6 years ago
Sam Brannen
9517372e5f
Re-enable DLBFTests.prototypeCreationWithConstructorArgumentsIsFastEnough()
6 years ago
Sam Brannen
a93f3ddfe4
Polish DefaultListableBeanFactoryTests
6 years ago
Sam Brannen
b2aad1c3b1
Ensure bean definitions can be removed concurrently
...
Prior to this commit, concurrent invocations of
DefaultListableBeanFactory.removeBeanDefinition() could result in a
NullPointerException.
This commit fixes this by adding an appropriate not-null check in
resetBeanDefinition().
Closes gh-23542
6 years ago
Sam Brannen
7a1a8e1623
Polish DefaultListableBeanFactoryTests
6 years ago
Phillip Webb
d945ae9191
Add blank line between java and javax imports
...
See gh-23539
Co-authored-by: Sam Brannen <sbrannen@pivotal.io>
6 years ago
GungnirLaevatain
9db4118180
Fix DefaultListableBeanFactory#copyConfigurationFrom
...
Prior to this commit, the copyConfigurationFrom(ConfigurableBeanFactory)
method in DefaultListableBeanFactory cloned its own AutowireCandidateResolver
type instead of the resolver type from the supplied ConfigurableBeanFactory.
This commit fixes that by cloning the resolver type from the supplied
ConfigurableBeanFactory.
Closes gh-23569
6 years ago
Sam Brannen
591995ecc8
Polish and revive disabled tests
...
This commit revives some previously disabled tests and converts
some usage of @Disabled to @EnabledForTestGroups(...).
6 years ago
Sam Brannen
c80705a708
Polishing
6 years ago
Sam Brannen
ce178f76eb
Add missing Temporal tests in BeanUtilsTests
...
This change will help to serve as a regression test.
6 years ago
Phillip Webb
deba2ed1b3
Add blank line between java and javax imports
...
See gh-23539
6 years ago
Sam Brannen
f54395b261
Polish BeanUtilsTests
6 years ago
Sam Brannen
d036b5a283
Do not treat void and Void as simple types in BeanUtils
...
Prior to this commit, the isSimpleProperty() and isSimpleValueType()
methods in BeanUtils treated void and Void as simple types; however,
doing so does not make sense in this context, since void implies the
lack of a property or value.
This commit addresses this by explicitly excluding void and Void in the
logic in isSimpleValueType().
This commit also simplifies the implementation of
ViewResolutionResultHandler.supports(HandlerResult) to take advantage
of this change.
Closes gh-23573
6 years ago