Address Sonar reports for recent commits

This commit is contained in:
Gary Russell
2018-11-08 12:29:22 -05:00
committed by Artem Bilan
parent 648aeb8e96
commit 433ef4c4aa
4 changed files with 11 additions and 8 deletions

View File

@@ -497,7 +497,8 @@ public abstract class HttpRequestHandlingEndpointSupport extends BaseHttpInbound
}
throw new MessagingException(
"Could not convert request: no suitable HttpMessageConverter found for expected type ["
+ expectedType.getName() + "] and content type [" + contentType + "]");
+ expectedType != null ? expectedType.getName() : "null"
+ "] and content type [" + contentType + "]");
}
}