Skip to content

Commit

Permalink
v0
Browse files Browse the repository at this point in the history
  • Loading branch information
Bughue committed Dec 4, 2024
1 parent cfde859 commit 1cde9d3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ public static boolean versionNotSupport(Channel channel, RpcMessage rpcMessage)
if (StringUtils.isBlank(version) || msg == null) {
return false;
}
boolean aboveV0 = Version.isV0(version);
if (!aboveV0 || !(msg instanceof MessageTypeAware)) {
boolean isV0 = Version.isV0(version);
if (!isV0 || !(msg instanceof MessageTypeAware)) {
return false;
}
short typeCode = ((MessageTypeAware) msg).getTypeCode();
Expand Down

0 comments on commit 1cde9d3

Please sign in to comment.