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)
(cherry picked from commit 0713d03)
Change-Id: I833973940c02f0f3cda767c9f4f0231b174c28ed
  • Loading branch information
ryakhovskiy authored and Apache9 committed Aug 8, 2022
1 parent f5c98e0 commit 7c2d7d8
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 7c2d7d8

Please sign in to comment.