private void writeConfigurationPerRunnerSettings(final Comparator<Element> runnerComparator, final Element element)
throws WriteExternalException {
final ArrayList<Element> configurationPerRunnerSettings = new ArrayList<Element>();
for (ProgramRunner runner : myConfigurationPerRunnerSettings.keySet()) {
ConfigurationPerRunnerSettings settings = myConfigurationPerRunnerSettings.get(runner);
<BUG>Element runnerElement = new Element(CONFIGURATION_ELEMENT);
settings.writeExternal(runnerElement);
runnerElement.setAttribute(RUNNER_ID, runner.getRunnerId());
configurationPerRunnerSettings.add(runnerElement);</BUG>
}

private void writeConfigurationPerRunnerSettings(final Comparator<Element> runnerComparator, final Element element)
throws WriteExternalException {
final ArrayList<Element> configurationPerRunnerSettings = new ArrayList<Element>();
for (ProgramRunner runner : myConfigurationPerRunnerSettings.keySet()) {
ConfigurationPerRunnerSettings settings = myConfigurationPerRunnerSettings.get(runner);
Element runnerElement = new Element(CONFIGURATION_ELEMENT);
runnerElement.setAttribute(RUNNER_ID, runner.getRunnerId());
if (settings != null) {
settings.writeExternal(runnerElement);
}
configurationPerRunnerSettings.add(runnerElement);
}
