@Test public void testSingleton() throws Exception { VersionReport report = VersionReport.getInstance(); VersionReport r2 = VersionReport.getInstance(); assertSame(report, r2); }
public synchronized static VersionReport getInstance() { instance = ObjectUtils.defaultIfNull(instance, new VersionReportImp()); return instance; }
VersionReport { public synchronized static VersionReport getInstance() { instance = ObjectUtils.defaultIfNull(instance, new VersionReportImp()); return instance; } }
VersionReport { public synchronized static VersionReport getInstance() { instance = ObjectUtils.defaultIfNull(instance, new VersionReportImp()); return instance; } protected  VersionReport(); }
VersionReport { public synchronized static VersionReport getInstance() { instance = ObjectUtils.defaultIfNull(instance, new VersionReportImp()); return instance; } protected  VersionReport(); synchronized static VersionReport getInstance(); String getAdapterBuildVersion(); Collection<String> getReport(); Collection<String> getArtifactIdentifiers(); }
VersionReport { public synchronized static VersionReport getInstance() { instance = ObjectUtils.defaultIfNull(instance, new VersionReportImp()); return instance; } protected  VersionReport(); synchronized static VersionReport getInstance(); String getAdapterBuildVersion(); Collection<String> getReport(); Collection<String> getArtifactIdentifiers();  }