@Test public void testGetInstance() { PublishSettings settings = PublishSettings.getInstance(); assertNotNull( settings ); }
public static synchronized PublishSettings getInstance() { if ( instance == null ) { instance = new PublishSettings(); } return instance; }
PublishSettings { public static synchronized PublishSettings getInstance() { if ( instance == null ) { instance = new PublishSettings(); } return instance; } }
PublishSettings { public static synchronized PublishSettings getInstance() { if ( instance == null ) { instance = new PublishSettings(); } return instance; } private  PublishSettings(); }
PublishSettings { public static synchronized PublishSettings getInstance() { if ( instance == null ) { instance = new PublishSettings(); } return instance; } private  PublishSettings(); static synchronized PublishSettings getInstance(); void flush(); boolean isRememberSettings(); void setRememberSettings( final boolean rememberSettings ); void fireSettingsChanged(); }
PublishSettings { public static synchronized PublishSettings getInstance() { if ( instance == null ) { instance = new PublishSettings(); } return instance; } private  PublishSettings(); static synchronized PublishSettings getInstance(); void flush(); boolean isRememberSettings(); void setRememberSettings( final boolean rememberSettings ); void fireSettingsChanged();  }