mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-03 09:13:27 +00:00
Update comment
This commit is contained in:
1 parent
0d068a35d8
commit
5d970438bf
1 file changed
+2
@@ -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