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 74726617b8418f9cd0b1f3ae209cfc42adbf26cd)
This commit is contained in:
parent
25cf86e028
commit
0713d0380b
@ -126,7 +126,7 @@ public class ProcedureEvent<T> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
public synchronized String toString() {
|
||||
return getClass().getSimpleName() + " for " + object + ", ready=" + isReady() + ", "
|
||||
+ suspendedProcedures;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user