Juergen Hoeller
6ca2cb5917
Polishing
...
(cherry picked from commit 106ae0cc5b
)
6 years ago
Juergen Hoeller
4a87262b24
Cleanup after unexpected exception from external delegation call
...
Issue: SPR-17559
(cherry picked from commit c024bdcc6f
)
6 years ago
Juergen Hoeller
76fd1793a8
Avoid log statements between resource opening and returning
...
Issue: SPR-17559
(cherry picked from commit 7854b7ac40
)
6 years ago
Juergen Hoeller
e2b74e6943
Polishing
6 years ago
Juergen Hoeller
e6c979606c
Nullability fine-tuning based on IntelliJ IDEA 2018.3 inspection
...
Issue: SPR-15540
(cherry picked from commit bf272b0b21
)
6 years ago
Juergen Hoeller
0167b79d7b
Consistently return empty array in case of empty batch arguments
...
Issue: SPR-17476
(cherry picked from commit 362c59c310
)
6 years ago
Juergen Hoeller
c834790135
Deprecate ReflectionUtils.invokeJdbcMethod (for removal in 5.2)
...
Includes deprecation of NON_BRIDGED_METHODS constant.
Issue: SPR-17464
(cherry picked from commit 0a7dcf14f9
)
6 years ago
Juergen Hoeller
c0b0ee6db7
Polishing
7 years ago
Juergen Hoeller
04814e604e
Polishing
...
(cherry picked from commit 95a56cd28d
)
7 years ago
Juergen Hoeller
f3184a0878
Polishing
7 years ago
Kazuhiro Sera
a80f4caf37
Fix typos detected by github.com/client9/misspell
...
(cherry picked from commit be211ceead
)
7 years ago
Juergen Hoeller
a45ef35b38
Pruning of outdated JDK 6/7 references (plus related polishing)
...
(cherry picked from commit b325c74216
)
7 years ago
Juergen Hoeller
91fa2ed0d4
Initialize pre-filled HashMaps with large enough capacity
...
Empty Maps are preferably initialized without capacity (not initializing them at all or lazily initializing with default capacity when needed).
Issue: SPR-17105
(cherry picked from commit 4a147d26fc
)
7 years ago
Juergen Hoeller
5da58393c1
Polishing
7 years ago
Juergen Hoeller
c3f6403f61
Polishing
7 years ago
Juergen Hoeller
11fc086309
Prefer ArrayList/ArrayDeque over LinkedList for multi-element holders
...
LinkedList remains in place where a List is likely to remain empty or single-element (in order to avoid unused capacity).
Issue: SPR-17037
(cherry picked from commit 9c08a48
)
7 years ago
Juergen Hoeller
1ab9e2ceda
Polishing
7 years ago
Juergen Hoeller
99534a31ba
MapSqlParameterSource.addValue declares nullable value parameter
...
Issue: SPR-16843
(cherry picked from commit d9c6318
)
7 years ago
Juergen Hoeller
a631af80c1
Polishing
...
(cherry picked from commit 40efcc9
)
7 years ago
Juergen Hoeller
062a15fbd7
Latest applicable dependency updates (Jetty 9.4.11, Netty 4.1.25, Hibernate ORM 5.1.14, HSQLDB 2.4.1, Derby 10.14.2.0, HtmlUnit 2.31, Selenium 3.12)
7 years ago
Juergen Hoeller
c04c8a2472
Polishing
7 years ago
nkjackzhang
98335b41f7
Fix a typo in javadoc
...
Closes gh-1824
7 years ago
Johnny Lim
a0d37ac29e
Remove inconsistent spaces
...
(cherry picked from commit fb898e1
)
7 years ago
Johnny Lim
a39938d251
Polish DatabaseStartupValidator
...
(cherry picked from commit 8f21cb1
)
7 years ago
Juergen Hoeller
7068282e1f
Remove bogus DataSource test from JpaTransactionManagerTests
...
(cherry picked from commit ff53d78
)
7 years ago
Juergen Hoeller
475c4d4425
Polishing
7 years ago
Juergen Hoeller
0bc01fcd55
Polishing
7 years ago
Johnny Lim
8dd0974e2f
Rename SingleColumnRowMapperTest to align with the other tests
7 years ago
Juergen Hoeller
9a722b4558
Pass type name into PreparedStatement.setNull in case of Types.OTHER
...
Issue: SPR-16669
7 years ago
nkjackzhang
82cb5dbf2b
NamedParameterUtils.parseSqlStatement should parse :{x} style parameter correctly
...
In my opinion, we should parse ":{x}" style parameter as "x" is parameter using "NamedParameterUtils.parseSqlStatement",
so the condition "j - i > 2" is the correct condition, not "j - i > 3", because if "i" is the index of
":" in ":{x}", and "j" is the index of "}" in ":{x}", "j - i == 3" is true.
Also add a test case for SPR-16663.
7 years ago
Juergen Hoeller
b2d87abcbb
Polishing
7 years ago
Juergen Hoeller
e3d0ef6015
Use Map.forEach instead of manual Map.Entry iteration wherever possible
...
Issue: SPR-16646
7 years ago
Juergen Hoeller
c441d60d1d
Upgrade to Kotlin 1.2.31 and RxJava 2.1.12
...
Includes H2 1.4.197 and Selenium HtmlUnit Driver 2.29.3 as well.
7 years ago
Juergen Hoeller
702b27e1e4
Polishing
7 years ago
Juergen Hoeller
2c7efbb9d0
Deprecate TableMetaDataContext.getSimulationQueryForGetGeneratedKey
7 years ago
Juergen Hoeller
b7c423813d
CallMetaDataContext handles 'procedureColumnResult' as return parameter
...
Issue: SPR-16611
7 years ago
Juergen Hoeller
4fef1fe820
Polishing
7 years ago
igor-suhorukov
2f9d0a7de8
simplify boolean NOT operation
7 years ago
igor-suhorukov
32b689a994
use StringBuilder for complex string concatenation
7 years ago
igor-suhorukov
407ecf7334
to get rid of "magic" time constants
7 years ago
Juergen Hoeller
50253f670e
Quick access to volatile field (full synchronization only for lazy init)
...
Issue: SPR-16570
7 years ago
Juergen Hoeller
139dc1d373
Polishing (collapsed if checks, consistent downcasts, refined javadoc)
7 years ago
igor-suhorukov
0f7485b01d
Polish: reorder the modifiers to comply with the Java Language Specification.
7 years ago
Juergen Hoeller
20287e0cb0
Polishing
7 years ago
Juergen Hoeller
82515a3f01
Consistent incrementer arrangement for PostgreSQL, DB2 and SAP HANA
...
Includes related polishing in core.metadata and datasource.embedded and a revision of the corresponding database definitions in sql-error-codes.
Issue: SPR-16558
7 years ago
Juergen Hoeller
4a4f2c2f08
Drop version check in isGetGeneratedKeysSimulated (for PostgreSQL 10)
...
Issue: SPR-16556
7 years ago
igor-suhorukov
49fd724d8f
Polish: String function use should be optimized for single characters
7 years ago
Juergen Hoeller
3732032ee4
Customizable PreparedStatementCreator in NamedParameterJdbcTemplate
...
Issue: SPR-16050
7 years ago
igor-suhorukov
c782075a13
Polish: Array designators "[]" should be on the type, not the variable
7 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
7 years ago