Skip to content

Commit

Permalink
fix: Duplicate condition in 'if' statement inspection (apache#5802)
Browse files Browse the repository at this point in the history
  • Loading branch information
LiosWong authored Feb 29, 2020
1 parent ca28815 commit 35e80b0
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,6 @@ private int getErrorCode(Throwable e) {
Status status = statusException.getStatus();
if (status.getCode() == Status.Code.DEADLINE_EXCEEDED) {
return RpcException.TIMEOUT_EXCEPTION;
} else if (status.getCode() == Status.Code.DEADLINE_EXCEEDED) {
//
}
}
return RpcException.UNKNOWN_EXCEPTION;
Expand Down

0 comments on commit 35e80b0

Please sign in to comment.