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:
Artem Bilan
2018-12-19 12:33:47 -05:00
committed by Gary Russell
parent e8bd31cc37
commit 8ce8bf9d73
9 changed files with 138 additions and 91 deletions

View File

@@ -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(