void (String file, String configName, String configId) { final ConfigurationBean bean = new ConfigurationBean(); bean.name = configName; bean.configurationId = configId; final Map<String, ConfigurationBean> historyElements = myState.getHistoryElements(); historyElements.put(file, bean); if (historyElements.size() > AbstractImportTestsAction.getHistorySize()) { final String first = historyElements.keySet().iterator().next(); historyElements.remove(first); } }