Sam Brannen
2b52582dff
Polishing
2024-01-31 16:41:15 +01:00
Stéphane Nicoll
67958656e4
Polish
2024-01-31 15:01:03 +01:00
Stéphane Nicoll
a4db0e7448
Merge pull request #32164 from quaff
...
* pr/32164:
Polish contribution
Polish StatementCreatorUtilsTests
Closes gh-32164
2024-01-31 08:57:53 +01:00
Stéphane Nicoll
ef2cae36ac
Polish contribution
...
See gh-32164
2024-01-31 08:57:11 +01:00
Yanming Zhou
efaf41862c
Polish StatementCreatorUtilsTests
...
See gh-32164
2024-01-31 08:56:59 +01:00
Juergen Hoeller
af5acb6d34
Avoid pre-conversion attempt in case of overloaded write methods
...
Closes gh-32159
See gh-31872
2024-01-30 21:57:14 +01:00
Sam Brannen
067638ae6e
Introduce ClassUtils.isVoidType() utility method
2024-01-30 16:27:34 +01:00
Sam Brannen
398cc01650
Polishing
2024-01-30 16:24:55 +01:00
Stéphane Nicoll
3a518b60e7
Merge pull request #32157 from jee14
...
* pr/32157:
Upgrade copyright year of changed file
Wrap ternary operator within parantheses
Closes gh-32157
2024-01-30 15:59:39 +01:00
Stéphane Nicoll
298f308ce1
Upgrade copyright year of changed file
...
See gh-32157
2024-01-30 15:59:06 +01:00
jee14
6ffb74def3
Wrap ternary operator within parantheses
...
See gh-32157
2024-01-30 15:57:51 +01:00
Stéphane Nicoll
b55a4d3908
Prevent AOT from failing with spring-orm without JPA
...
This commit improves PersistenceManagedTypesBeanRegistrationAotProcessor
so that it does not attempt to load JPA classes when checking for the
presence of a PersistenceManagedTypes bean. To make it more clear a
check on the presence for JPA has been added to prevent the nested
classes to be loaded regardless of the presence of the bean.
Closes gh-32155
2024-01-30 15:43:07 +01:00
Sam Brannen
db535863dd
Consistently use class literals for primitive types
...
To improve consistency and avoid confusion regarding primitive types
and their wrapper types, this commit ensures that we always use class
literals for primitive types.
For example, instead of using the `Void.TYPE` constant, we now
consistently use `void.class`.
2024-01-30 15:26:12 +01:00
Stéphane Nicoll
95a3f3bb6e
Upgrade CI to Java 22ea+33
2024-01-29 21:19:53 +01:00
Sam Brannen
84cce6018c
Document the between operator in SpEL
...
Closes gh-32140
2024-01-29 18:34:12 +01:00
Sam Brannen
e97fc7be38
Improve documentation for alternative textual operators in SpEL
2024-01-29 17:47:46 +01:00
Sam Brannen
9eae0ba50e
Clean up warnings in build
2024-01-29 17:47:46 +01:00
Sam Brannen
f3c8102882
Polish SpEL Tokenizer
2024-01-29 17:47:46 +01:00
Juergen Hoeller
005d5ef922
Polishing
2024-01-29 16:53:35 +01:00
Juergen Hoeller
5dc26460fb
Eagerly initialize ZERO_NANOS constant
2024-01-29 16:48:08 +01:00
Sam Brannen
542502b2b6
Upgrade to AssertJ 3.25.2
2024-01-29 16:08:04 +01:00
Sam Brannen
f6d8443781
Fix logic in SupplierUtils
2024-01-29 16:07:44 +01:00
Juergen Hoeller
a44341ece3
Consistent method declaration order in Call/TableMetaDataProvider
2024-01-29 15:25:55 +01:00
Juergen Hoeller
969b18b0e8
Polishing
2024-01-29 15:25:43 +01:00
Juergen Hoeller
2e9d6a1d4e
Polishing
2024-01-29 13:04:42 +01:00
Juergen Hoeller
7e5efdd8dd
Reuse MapPropertySource for DynamicValuesPropertySource implementation
...
Closes gh-32110
2024-01-29 13:04:02 +01:00
Juergen Hoeller
08e6df8832
Revise shutdown phase log message and executor shutdown documentation
...
Closes gh-32109
2024-01-29 13:03:20 +01:00
Juergen Hoeller
a738e4d5fd
Explicit documentation note on cron-vs-quartz parsing convention
...
Closes gh-32128
2024-01-29 13:02:43 +01:00
Sébastien Deleuze
9c4b4ab81e
Update basics.adoc
...
Closes gh-32145
2024-01-29 09:08:37 +01:00
Sam Brannen
0ee2d41528
Delete obsolete test utility method
...
Commit dc6ce30663 made this method obsolete.
2024-01-28 18:44:56 +01:00
Sam Brannen
dc6ce30663
Polishing
2024-01-28 18:31:31 +01:00
Sam Brannen
62fa3f11c1
Correctly request primitive conversion in SpEL's Indexer
...
Prior to this commit, SpEL's Indexer incorrectly requested conversion
to wrappers instead of primitives when setting an element in a
primitive array.
This commit addresses this by requesting primitive conversion -- for
example, conversion to `int.class` instead of `Integer.class` when
setting a value in an `int[]` array.
For greater clarity, this commit also switches from using `TYPE`
constants in wrapper classes to primitive class literals -- for
example, from `Integer.TYPE` to `int.class`.
Closes gh-32147
2024-01-28 18:26:39 +01:00
Sam Brannen
2e56361fe4
Simplify implementation of internal VariableNotAvailableException
...
Since VariableNotAvailableException is not a public type, there is no
need to store the variable name in a field/property.
2024-01-28 17:05:30 +01:00
Sam Brannen
9b0162da49
Document increment and decrement operators in SpEL
...
Closes gh-32136
2024-01-28 16:43:55 +01:00
Sam Brannen
ab98210e6d
Polishing
2024-01-28 16:43:55 +01:00
Sam Brannen
97ad479250
Sync assignment operator test with example used in reference manual
2024-01-28 16:43:15 +01:00
Sam Brannen
24d6565cad
Provide example for SpEL's exponential power operator (^)
2024-01-28 16:43:15 +01:00
Sam Brannen
e34ad6bf5f
Support prefix notation for SpEL increment/decrement in AST representation
...
Closes gh-32144
2024-01-28 15:21:07 +01:00
Sam Brannen
179b976964
Introduce tests for SpEL's Inc/Dec operators and polishing
2024-01-28 15:10:15 +01:00
Sam Brannen
1ff84671f8
Remove obsolete InProgressTests
...
Since SpEL is no longer "in progress", this commit removes the obsolete
InProgressTests class and moves all non-duplicated test cases to other
test classes.
2024-01-28 14:25:37 +01:00
Sam Brannen
e1c22c5385
Clean up InProgressTests
2024-01-28 13:29:34 +01:00
Sam Brannen
3f30a1540c
Additional SpEL setValue() tests and polishing
2024-01-28 13:29:22 +01:00
Sam Brannen
ae9153e644
Polish SpEL-related tests
2024-01-27 19:09:02 +01:00
Sam Brannen
003407a7e3
Polish Javadoc for SpelEvaluationException and Expression
2024-01-27 19:09:02 +01:00
Stéphane Nicoll
a7764dc61d
Merge pull request #32141 from kzander91
...
* pr/32141:
Polish "Simplify use of Reactor's cast operator"
Simplify use of Reactor's cast operator
Closes gh-32141
2024-01-27 12:23:24 +01:00
Stéphane Nicoll
4b4778d569
Polish "Simplify use of Reactor's cast operator"
...
See gh-32141
2024-01-27 12:21:46 +01:00
Kai Zander
d96a63944c
Simplify use of Reactor's cast operator
...
This commit replaces filter(x -> x instanceof C).cast(C.class) with the
built-in ofType(C.class).
See gh-32141
2024-01-27 12:21:46 +01:00
Stéphane Nicoll
ad7c090f4c
Use catalog name in SimpleJdbcInsert
...
This commit harmonizes SimpleJdbcCall and SimpleJdbcInsert to
consistently use a catalog name if one is set. Previously,
SimpleJdbcInsert only used the catalog name to retrieve database
metadata.
Closes gh-32124
2024-01-26 17:58:41 +01:00
Sam Brannen
b9bad56fc1
Document repeat and characer subtraction String operators in SpEL
...
Closes gh-32137
2024-01-26 17:39:15 +01:00
Sam Brannen
fdf0a6f6c7
Polishing
2024-01-26 17:37:45 +01:00