Sam Brannen
a2ef6badc4
Use StringBuilder.append(char) where possible
...
To slightly improve performance, this commit switches to
StringBuilder.append(char) instead of StringBuilder.append(String)
whenever we append a single character to a StringBuilder.
Closes gh-27098
5 years ago
Juergen Hoeller
90af2d5794
Log delegate service initialization at debug level (instead of info)
...
Closes gh-26810
5 years ago
Brian Clozel
e02d3f32b4
Requalify tests as LONG_RUNNING
...
Prior to this commit, some tests would belong to the PERFORMANCE
`TestGroup`, while they were not testing for performance but rather
performing functional tests that involve long running operations or
timeouts.
This commit moves those tests to the LONG_RUNNING `TestGroup`.
See gh-24830
5 years ago
Juergen Hoeller
9dfef59af2
Construct StringWriter instances with appropriate initial size
...
Closes gh-25789
5 years ago
Juergen Hoeller
6e3ed6038b
MimeMessageHelper does not encode attachment filenames by default anymore
...
Closes gh-25770
5 years ago
Juergen Hoeller
49d65d5c41
Configurable filename encoding in MimeMessageHelper
...
Closes gh-25755
5 years ago
Juergen Hoeller
670b9fd60b
Retry SQLErrorCodesFactory retrieval if DatabaseMetaData access failed
...
Includes deprecation of JdbcUtils.extractDatabaseMetaData(DataSource, String) in favor of the now generified version of extractDatabaseMetaData(DataSource, DatabaseMetaDataCallback).
Closes gh-25681
Closes gh-25686
5 years ago
Сергей Цыпанов
1f3e52d932
gh-25650 Replace remaining usage of LinkedList with ArrayList in tests
5 years ago
Juergen Hoeller
874574513c
Replace remaining usage of LinkedList with ArrayList/ArrayDeque
...
Closes gh-25650
5 years ago
Juergen Hoeller
ff11467a0c
Avoid resizing of fixed-size HashMap/LinkedHashMap variants
...
Closes gh-25349
5 years ago
Stephane Nicoll
4d446f9659
Polish
6 years ago
Stephane Nicoll
f3cedf268b
Consistently support LoadingCache
...
This commits make sure that CaffeineCache handles consistently the
contract of LoadingCache.
Closes gh-25173
6 years ago
Sam Brannen
cdc234d7db
Polish contribution
...
See gh-25446
6 years ago
XenoAmess
c547809e89
Use instanceof instead of Class#isInstance where feasible
...
Closes gh-25446
6 years ago
Juergen Hoeller
17cab9660c
Deprecate TransactionSynchronizationAdapter
...
Closes gh-21725
6 years ago
Sam Brannen
8099fc8178
Use try-with-resources language construct where feasible
...
Closes gh-2063
Co-authored-by: igor-suhorukov <igor.suhorukov@gmail.com>
6 years ago
Juergen Hoeller
e46ccd74b1
Consistent abstract declaration of "Abstract" base classes
...
Closes gh-25240
6 years ago
Juergen Hoeller
ae1ed9d458
Document exception handling limitations in TaskDecorator implementations
...
Closes gh-25231
6 years ago
Juergen Hoeller
8697026987
Support for custom cache registration in CaffeineCacheManager
...
Closes gh-25230
6 years ago
Juergen Hoeller
d7161f5e5e
Polishing
6 years ago
Juergen Hoeller
3c1ee64b7f
Explicit nullability declarations for all AOP Alliance methods
...
Includes consistent declarations in AOP Alliance related Spring AOP code.
Closes gh-24117
6 years ago
Juergen Hoeller
f09093132e
Use proxyBeanMethods=false on remaining internal configuration classes
...
Closes gh-24511
6 years ago
Sam Brannen
12e05280ad
Upgrade to AssertJ 3.16
6 years ago
Qimiao Chen
1f9fa3bab8
Remove useless .gitignore files
...
Closes gh-24790
6 years ago
Sam Brannen
16e49bf0c9
Simplify getCache() implementation in CaffeineCacheManager
...
Closes gh-24376
6 years ago
Sam Brannen
5581f3b77b
Use Gradle test fixture support for spring-tx
...
See gh-23550
6 years ago
Sam Brannen
726b1bb1d0
Rename test fixture package in spring-context
...
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
0335db23c9
Use Gradle test fixture support for spring-context-support
...
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
32e7adfa32
Polishing
6 years ago
stsypanov
f2b3953d76
Use array.clone() instead of manual array creation
6 years ago
Sebastien Deleuze
b24ac74106
Restore TransactionOperations Kotlin API compatibilty
...
This commit renames the Runnable variant to executeWithoutResult
and uses a Consumer<TransactionStatus> parameter for better
consistency with TransactionCallbackWithoutResult.
Closes gh-23724
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
Sam Brannen
455ad71863
Polish contribution
...
See gh-23629
6 years ago
douddle
93ddfb9cae
Add SVG mapping to mime.types file for JavaMail support
...
Closes gh-23629
6 years ago
Phillip Webb
deba2ed1b3
Add blank line between java and javax imports
...
See gh-23539
6 years ago
Sam Brannen
ad6231ad29
Add missing @Override annotations
7 years ago
Sam Brannen
288461a541
Introduce @EnabledForTestGroups in Spring's test suite
...
Closes gh-23476
7 years ago
Sam Brannen
3f3e41923f
Migrate rest of test suite from JUnit 4 to JUnit Jupiter
...
This commit migrates the rest of Spring's test suite to JUnit Jupiter,
except spring-test which will be migrated in a separate commit.
See gh-23451
7 years ago
Juergen Hoeller
8aa0b07768
Consistent early eviction tests in regular and transactional scenarios
...
See gh-23192
7 years ago
Juergen Hoeller
f5daa657f4
Polishing
7 years ago
Juergen Hoeller
ffc1f242ca
Introduce evictIfPresent/invalidate operations on Cache abstraction
...
@CacheEvict.beforeInvocation suggests immediate execution even in case of transactional caches. The cache interceptor delegates to the new evictIfPresent/invalidate operations now which imply immediate execution semantics (and also provide an indication for whether any corresponding entries where present when programmatically called).
Closes gh-23192
7 years ago
Juergen Hoeller
7a7d4109ac
Polishing
7 years ago
Juergen Hoeller
aeef95938e
SpringValidatorAdapter's ObjectError subclasses are serializable
...
Closes gh-23181
7 years ago
Sam Brannen
9b084bb3ea
Polish contribution
...
See gh-23073
7 years ago
Issam El-atif
ab36a0a82f
Improve FreeMarker tests in spring-webmvc and spring-context-support
...
This commit improves FreeMarkerConfigurerTests in spring-webmvc by
testing against FreeMarkerConfigurer instead of
FreeMarkerConfigurationFactoryBean and moves the original
FreeMarkerConfigurationFactoryBeanTests to spring-context-support in
the org.springframework.ui.freemarker package.
Closes gh-23073
7 years ago
Sebastien Deleuze
098ac0bbb8
Annotate Object#equals parameter with @Nullable
...
Closes gh-23093
7 years ago