public class Cache
{
+ private Cache()
+ {
+ // private singleton
+ }
+
/**
* In Java, this will be a static field instance, which will be
* application-specific; in JavaScript it will be an applet-specific instance
*
* @return
*/
- public static Cache getInstance()
+ private static Cache getInstance()
{
Instance i = Instance.getInstance();
return (i.cache == null ? i.cache = new Cache() : i.cache);
*/
public static Logger log;
- private Cache()
- {
- // singleton
- }
-
/** Jalview Properties */
// BH 2019.05.08 was static
@SuppressWarnings("serial")