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 0a36504848
commit 948b323075
1 changed files with 1 additions and 1 deletions

View File

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