mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-05-16 02:59:21 +00:00
Change access level to private
This commit is contained in:
@@ -53,7 +53,7 @@ public final class InitializingOnDemandHolderIdiom {
|
||||
* Provides the lazy-loaded Singleton instance.
|
||||
*/
|
||||
private static class HelperHolder {
|
||||
public static final InitializingOnDemandHolderIdiom INSTANCE =
|
||||
private static final InitializingOnDemandHolderIdiom INSTANCE =
|
||||
new InitializingOnDemandHolderIdiom();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user