State duplicateContinuing = stateValues.isSilentOrNonInteractive() ? null : new PromptNewUserState(theConsole, stateValues);
if (stateValues.isSilentOrNonInteractive()) {
continuingState = new ErrorState(theConsole, MESSAGES.duplicateUser(stateValues.getUserName()), duplicateContinuing, stateValues);
} else {
String message = MESSAGES.aboutToUpdateUser(stateValues.getUserName());
<BUG>String prompt = MESSAGES.isCorrectPrompt();
stateValues.setExistingUser(true);</BUG>
continuingState = new ConfirmationChoice(theConsole,message, prompt, continuingState, duplicateContinuing);
}
}

State duplicateContinuing = stateValues.isSilentOrNonInteractive() ? null : new PromptNewUserState(theConsole, stateValues);
if (stateValues.isSilentOrNonInteractive()) {
continuingState = new ErrorState(theConsole, MESSAGES.duplicateUser(stateValues.getUserName()), duplicateContinuing, stateValues);
} else {
String message = MESSAGES.aboutToUpdateUser(stateValues.getUserName());
String prompt = MESSAGES.isCorrectPrompt() + " " + MESSAGES.yes() + "/" + MESSAGES.no() + "?";
stateValues.setExistingUser(true);
continuingState = new ConfirmationChoice(theConsole,message, prompt, continuingState, duplicateContinuing);
