@Test public void testNewConfigurator() { LoggingConfigurator l1 = LoggingConfigurator.newConfigurator(); assertNotNull(l1); LoggingConfigurator l2 = LoggingConfigurator.newConfigurator(); assertSame(l1, l2); }
public static synchronized LoggingConfigurator newConfigurator() { if (configurator == null) { configurator = createInstance(); } return configurator; }
LoggingConfigurator { public static synchronized LoggingConfigurator newConfigurator() { if (configurator == null) { configurator = createInstance(); } return configurator; } }
LoggingConfigurator { public static synchronized LoggingConfigurator newConfigurator() { if (configurator == null) { configurator = createInstance(); } return configurator; }  }
LoggingConfigurator { public static synchronized LoggingConfigurator newConfigurator() { if (configurator == null) { configurator = createInstance(); } return configurator; }  abstract void defaultInitialisation(); abstract boolean initialiseFrom(String url); abstract void requestShutdown(); static synchronized LoggingConfigurator newConfigurator(); }
LoggingConfigurator { public static synchronized LoggingConfigurator newConfigurator() { if (configurator == null) { configurator = createInstance(); } return configurator; }  abstract void defaultInitialisation(); abstract boolean initialiseFrom(String url); abstract void requestShutdown(); static synchronized LoggingConfigurator newConfigurator(); static final boolean ENABLE_JUL_LOGGING_BRIDGE; }