HBASE-26775 - add synchronized modifier to the toString() method of ProcedureEvent.java (#4681)

Signed-off-by: Duo Zhang <zhangduo@apache.org>
(cherry picked from commit 74726617b8)
This commit is contained in:
ryakhovskiy 2022-08-08 12:03:40 +02:00 committed by Duo Zhang
parent 25cf86e028
commit 0713d0380b
1 changed files with 1 additions and 1 deletions

View File

@ -126,7 +126,7 @@ public class ProcedureEvent<T> {
}
@Override
public String toString() {
public synchronized String toString() {
return getClass().getSimpleName() + " for " + object + ", ready=" + isReady() + ", "
+ suspendedProcedures;
}