newState = ((CompositePart) statePart).getConfigParts();
} else {
newState = Collections.singletonList(statePart);
}
synchronized (this) {
<BUG>state = newState;
config = new P4ProjectConfigStack(project, state);
</BUG>
}
}

newState = ((CompositePart) statePart).getConfigParts();
} else {
newState = Collections.singletonList(statePart);
}
synchronized (this) {
state = new ConfigState(newState);
config = new P4ProjectConfigStack(project, state.configParts);
}
}
