Avoid synchronizing the class object returned by getClass()
I accidentally found some code these days and it occurs seems a bit suspicious. Let’s take a look. 12345if ((UUID == null) || UUID.plus(1, Time.HOURS).isBefore(currentInstant)) { synchronize