mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-15 10:58:51 +00:00
Added comment to eagerly initialized singleton implementation.
This commit is contained in:
@@ -3,6 +3,8 @@ package com.iluwatar;
|
||||
/**
|
||||
*
|
||||
* Singleton class.
|
||||
* Eagerly initialized static instance guarantees thread
|
||||
* safety.
|
||||
*
|
||||
*/
|
||||
public class IvoryTower {
|
||||
|
||||
Reference in New Issue
Block a user