Skip to content

Commit

Permalink
More Sonar Polishing
Browse files Browse the repository at this point in the history
False positive is not only false; it's reported on the wrong line.
  • Loading branch information
garyrussell committed Dec 1, 2017
1 parent 86eb43f commit dc0bbc4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@ public Object invoke(MethodInvocation invocation) throws Throwable {
throw new RemoteProxyFailureException("No reply received from '" +
remoteInvocation.getMethodName() +
"' with arguments '" +
Arrays.asList(remoteInvocation.getArguments()) +
"' - perhaps a timeout in the template?", null); // NOSONAR (null)
Arrays.asList(remoteInvocation.getArguments()) + // NOSONAR (null)
"' - perhaps a timeout in the template?", null);
}
else if (!(rawResult instanceof RemoteInvocationResult)) {
throw new RemoteProxyFailureException("Expected a result of type "
Expand Down

0 comments on commit dc0bbc4

Please sign in to comment.