@Test public final void testGetInstance() { ReleaseDetails instance = ReleaseDetails.getInstance(); ReleaseDetails secondInstance = ReleaseDetails.getInstance(); assertSame(instance, secondInstance); }
public static ReleaseDetails getInstance() { return INSTANCE; }
ReleaseDetails { public static ReleaseDetails getInstance() { return INSTANCE; } }
ReleaseDetails { public static ReleaseDetails getInstance() { return INSTANCE; } private  ReleaseDetails(); private  ReleaseDetails(final String version, final Date buildDate); }
ReleaseDetails { public static ReleaseDetails getInstance() { return INSTANCE; } private  ReleaseDetails(); private  ReleaseDetails(final String version, final Date buildDate); String getVersion(); Date getBuildDate(); @SuppressWarnings("static-method") String getRights(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ReleaseDetails getInstance(); }
ReleaseDetails { public static ReleaseDetails getInstance() { return INSTANCE; } private  ReleaseDetails(); private  ReleaseDetails(final String version, final Date buildDate); String getVersion(); Date getBuildDate(); @SuppressWarnings("static-method") String getRights(); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static ReleaseDetails getInstance();  }