Skip to content

Commit

Permalink
Fix Sonar false positives
Browse files Browse the repository at this point in the history
  • Loading branch information
garyrussell committed Dec 1, 2017
1 parent 895c7b0 commit 86eb43f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,12 @@ public Object invoke(MethodInvocation invocation) throws Throwable {
remoteInvocation.getMethodName() +
"' with arguments '" +
Arrays.asList(remoteInvocation.getArguments()) +
"' - perhaps a timeout in the template?", null);
"' - perhaps a timeout in the template?", null); // NOSONAR (null)
}
else if (!(rawResult instanceof RemoteInvocationResult)) {
throw new RemoteProxyFailureException("Expected a result of type "
+ RemoteInvocationResult.class.getCanonicalName() + " but found "
+ rawResult.getClass().getCanonicalName(), null);
+ rawResult.getClass().getCanonicalName(), null); // NOSONAR (null)
}

RemoteInvocationResult result = (RemoteInvocationResult) rawResult;
Expand Down

0 comments on commit 86eb43f

Please sign in to comment.