final Optional<ChangeInfo> selectedChange = getSelectedChange(anActionEvent);
if (!selectedChange.isPresent()) {
return;
}
SubmitInput submitInput = new SubmitInput();
gerritUtil.postSubmit(selectedChange.get().id, submitInput, project, new Consumer<Void>() {
@Override
public void consume(Void aVoid) {
NotificationBuilder notification = new NotificationBuilder(
project, "Change submitted", getSuccessMessage(selectedChange.get())