Skip to content

Commit

Permalink
HBASE-26775 - add synchronized modifier to the toString() method of P…
Browse files Browse the repository at this point in the history
…rocedureEvent.java (apache#4681)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 7472661)
  • Loading branch information
ryakhovskiy authored and Apache9 committed Aug 8, 2022
1 parent 25cf86e commit 0713d03
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public ProcedureDeque getSuspendedProcedures() {
}

@Override
public String toString() {
public synchronized String toString() {
return getClass().getSimpleName() + " for " + object + ", ready=" + isReady() + ", "
+ suspendedProcedures;
}
Expand Down

0 comments on commit 0713d03

Please sign in to comment.