You are viewing a single comment's thread. Return to all comments →
This is not thread-safe realization. This variant of Singleton needs "synchronized" mark for the "getSingleInstance()" method. See here
Java Singleton Pattern
You are viewing a single comment's thread. Return to all comments →
This is not thread-safe realization. This variant of Singleton needs "synchronized" mark for the "getSingleInstance()" method. See here