Skip to content

Commit

Permalink
[Java] Formatting.
Browse files Browse the repository at this point in the history
  • Loading branch information
vyazelenko committed Jan 16, 2025
1 parent e31438b commit b283de9
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@ boolean matches(final NetworkPublication publication)
final UdpChannel publicationChannel = publication.channelEndpoint().udpChannel();
final boolean isSameChannelTag = udpChannel.hasTag() && udpChannel.tag() == publicationChannel.tag();

return streamId == publication.streamId() && (isSameChannelTag ||
(isWildcardOrSessionIdMatch(publication.sessionId()) &&
udpChannel.canonicalForm().equals(publicationChannel.canonicalForm())));
return publication.streamId() == streamId &&
(isSameChannelTag ||
isWildcardOrSessionIdMatch(publication.sessionId()) &&
udpChannel.canonicalForm().equals(publicationChannel.canonicalForm()));
}
}

0 comments on commit b283de9

Please sign in to comment.