commons-file/src/main/java/info/monitorenter/cpdetector/io/CodepageDetectorProxy.java
public static CodepageDetectorProxy getInstance() {
    if (CodepageDetectorProxy.instance == null) {
      CodepageDetectorProxy.instance = new CodepageDetectorProxy();
    }
    return CodepageDetectorProxy.instance;
  }
public static CodepageDetectorProxy getInstance() {
    if (CodepageDetectorProxy.instance == null) {
      CodepageDetectorProxy.instance = new CodepageDetectorProxy();
    }
    return CodepageDetectorProxy.instance;
  }
Singleton retrieval method.
<p>
Be sure to configure the instance returned at a single location in your
code to avoid unpredictable application - wide side effects.
<p>

@return the sole instance in this VM.