private List<Integer> readColumnWidthsFromPreferences() { List<Integer> lstColumnWidths = null; try { lstColumnWidths = PreferencesUtils.getIntegerList(this.prefs, PREFS_NODE_SELECTEDFIELDWIDTHS); } catch (PreferencesException ex) { LOG.error("Die Spaltenbreite konnte nicht aus den Preferences geladen werden.", ex); return lstColumnWidths; } return lstColumnWidths; }
private int readIntervalTasksFromPreferences() { List<Integer> refreshIntervalTasksSelectedList; try { refreshIntervalTasksSelectedList = PreferencesUtils.getIntegerList( prefs, PREFS_NODE_TIMELIMITTASKS_REFRESH_INTERVAL_SELECTED); } catch (PreferencesException ex) { LOG.error( getSpringLocaleDelegate() .getMessage( "PersonalTaskController.10", "Der Filterzustand konnte nicht aus den Einstellungen gelesen werden"), ex); return 0; } if (refreshIntervalTasksSelectedList.isEmpty()) return 0; return refreshIntervalTasksSelectedList.get(0); }