Skip to content

Commit

Permalink
remove unnecessary condition。
Browse files Browse the repository at this point in the history
  • Loading branch information
hfutatzhanghb committed Oct 30, 2024
1 parent cb4d99a commit ee52b3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ <T> T invokeOnNsAsync(RemoteMethod method, Class<T> clazz, IOException ioe,
asyncTry(() -> {
getRPCClient().invokeSingle(nsId, method, clazz);
asyncApply(result -> {
if (result != null && isExpectedClass(clazz, result)) {
if (result != null) {
foreach.breakNow();
return result;
}
Expand Down

0 comments on commit ee52b3c

Please sign in to comment.