mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 03:01:12 +00:00
Update comment
This commit is contained in:
-1
@@ -13,7 +13,6 @@ import static org.junit.Assert.assertEquals;
|
||||
*
|
||||
* The first proves that multiple calls to the singleton getInstance object are the same when called in the SAME thread.
|
||||
* The second proves that multiple calls to the singleton getInstance object are the same when called in the DIFFERENT thread.
|
||||
* The third proves that there is a hole if the singleton is created reflectively
|
||||
*
|
||||
*/
|
||||
public class LazyLoadedSingletonThreadSafetyTest {
|
||||
|
||||
Reference in New Issue
Block a user