You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove generic argument from the `EnricherSpec.property()` which simply does nothing, but noise
- `Object` is enough
* Do the same for `EnricherSpec.header()`
* Fix `KotlinEnricherSpec`, respectively: no generic argument - just `Any`
* Make `KotlinIntegrationFlowDefinition.route()` to expect non-null for `router` arg
* Add `& Any` to generic params of the `KotlinRouterSpec` methods - according compiler warning requirements
Copy file name to clipboardExpand all lines: spring-integration-core/src/main/kotlin/org/springframework/integration/dsl/KotlinIntegrationFlowDefinition.kt
+1-1
Original file line number
Diff line number
Diff line change
@@ -1043,7 +1043,7 @@ class KotlinIntegrationFlowDefinition(@PublishedApi internal val delegate: Integ
1043
1043
* current integration flow position.
1044
1044
* In addition, accept options for the integration endpoint using [GenericEndpointSpec].
1045
1045
*/
1046
-
fun <R:AbstractMessageRouter?> route(router:R, endpointConfigurer:GenericEndpointSpec<R>.() ->Unit = {}) {
1046
+
fun <R:AbstractMessageRouter> route(router:R, endpointConfigurer:GenericEndpointSpec<R>.() ->Unit = {}) {
0 commit comments