Fix code smell in websocket and webflux modules (#2669)
* * Fix code smell in websocket and webflux modules * * More fixes * * Fix NPE in the `IntegrationHandlerResultHandler`
This commit is contained in:
committed by
Gary Russell
parent
e8bd31cc37
commit
8ce8bf9d73
@@ -105,7 +105,7 @@ class DslScriptExecutingMessageProcessor
|
||||
String filename = this.script.getFilename();
|
||||
int index =
|
||||
filename != null
|
||||
? filename.lastIndexOf(".") + 1
|
||||
? filename.lastIndexOf('.') + 1
|
||||
: -1;
|
||||
if (index < 1) {
|
||||
throw new BeanCreationException(
|
||||
|
||||
Reference in New Issue
Block a user