simplify use of synchronized
1 file changed