Besides Stringbuffer is already synchronized , but it is only in method5 called , and this according to the correct solution doesn't mean that method5 must be synchronized as well .