Skip to content

Commit

Permalink
format code
Browse files Browse the repository at this point in the history
  • Loading branch information
chickenlj committed Nov 3, 2024
1 parent c1a82ed commit 08c8338
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@ private List<ProtocolServiceKey> getMatchedProtocolServiceKeys(
.getProtocol())) { // if consumer side protocol is specified, use all
// the protocols we got in hand now directly
return true;
} else { // if consumer side protocol is not specified, choose the preferred or default main protocol
} else {
// if consumer side protocol is not specified, choose the preferred or default main protocol
if (needPreferred) {
return serviceInfo.getProtocol().equals(serviceInfo.getParameter(PREFERRED_PROTOCOL));
} else {
Expand Down

0 comments on commit 08c8338

Please sign in to comment.