Skip to content

Commit

Permalink
- Added test for sending of message to SiteMaster(null)
Browse files Browse the repository at this point in the history
  • Loading branch information
belaban committed Jul 21, 2023
1 parent 6d3fc4b commit 3dfc4a8
Show file tree
Hide file tree
Showing 2 changed files with 177 additions and 135 deletions.
4 changes: 3 additions & 1 deletion src/org/jgroups/JChannel.java
Original file line number Diff line number Diff line change
Expand Up @@ -764,7 +764,9 @@ public JChannel up(MessageBatch batch) {
return this;
}


public String toString() {
return isConnected()? String.format("%s (%s)", address(), cluster_name) : super.toString();
}

@ManagedOperation
public String toString(boolean details) {
Expand Down
Loading

0 comments on commit 3dfc4a8

Please sign in to comment.