This can just be 
````
synchronized (this) 
````
now.  When I first seen this I expected it to be in a inner class, but it isn't any longer.