- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {Connection c =
DataSource dataSource;dataSource.getConnection()
String url;DriverManager.getConnection(url)
IdentityDatabaseUtil.getDBConnection()
- Smart code suggestions by Codota
}
boolean processEvent(Event e) { if (LOG.isDebugEnabled()) { LOG.debug("FSM-{}: Received event {}@{} in state {}@{}", getFsmId(), e.getClass().getSimpleName(), System.identityHashCode(e), state.getClass().getSimpleName(), System.identityHashCode(state)); } try { State newState = state.dispatch(e); if (newState != state) { setState(state, newState); return true; } } catch (Throwable t) { LOG.error("Caught throwable while handling event", t); errorDeferredEvents(t); } return false; }
boolean processEvent(Event e) { if (LOG.isDebugEnabled()) { LOG.debug("FSM-{}: Received event {}@{} in state {}@{}", getFsmId(), e.getClass().getSimpleName(), System.identityHashCode(e), state.getClass().getSimpleName(), System.identityHashCode(state)); } try { State newState = state.dispatch(e); if (newState != state) { setState(state, newState); return true; } } catch (Throwable t) { LOG.error("Caught throwable while handling event", t); errorDeferredEvents(t); } return false; }