mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-14 10:58:42 +00:00
Update comment
This commit is contained in:
@@ -4,6 +4,8 @@ package com.iluwatar.singleton;
|
||||
* Thread-safe Singleton class.
|
||||
* The instance is lazily initialized and thus needs synchronization
|
||||
* mechanism.
|
||||
*
|
||||
* Note: if created by reflection then a singleton will not be created but multiple options in the same classloader
|
||||
*/
|
||||
public class ThreadSafeLazyLoadedIvoryTower {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user