Added comment to eagerly initialized singleton implementation.
This commit is contained in:
parent
baf177a81e
commit
0ad5fbfc5c
@ -3,6 +3,8 @@ package com.iluwatar;
|
||||
/**
|
||||
*
|
||||
* Singleton class.
|
||||
* Eagerly initialized static instance guarantees thread
|
||||
* safety.
|
||||
*
|
||||
*/
|
||||
public class IvoryTower {
|
||||
|
Loading…
x
Reference in New Issue
Block a user