ActionUpdateThread () { AnAction action = myActions.get(null); if (action == null) action = myActions.values().iterator().next(); return action == null ? ActionUpdateThread.BGT : action.getActionUpdateThread(); }