john pfeiffer
  • Home
  • Categories
  • Tags
  • Archives

INCOMPLETE singleton synchronized

    private static UploadSSL uploadSSLSingleton = null;

    private UploadSSL() // Singleton
    {
    }

    public static UploadSSL getSingletonObject()
  {
    if (uploadSSLSingleton == null)
    {       uploadSSLSingleton = new UploadSSL();
    }
    return uploadSSLSingleton;
  }

    public Object clone()   throws CloneNotSupportedException
  { throw new CloneNotSupportedException();
  }

  • « eclipse java roll back jre
  • InstallCert original »

Published

Feb 15, 2012

Category

java

~28 words

Tags

  • incomplete 22
  • java 252
  • singleton 1
  • synchronized 1