}
}
boolean submitChange = false;
if (showDialog) {
final ReviewDialog dialog = new ReviewDialog(project);
dialog.show();
if (!dialog.isOK()) {
return;
}
final String message = dialog.getReviewPanel().getMessage();
if (!Strings.isNullOrEmpty(message)) {
reviewInput.message = message;
}
submitChange = dialog.getReviewPanel().getSubmitChange();
if (!dialog.getReviewPanel().getDoNotify()) {
reviewInput.notify = ReviewInput.NotifyHandling.NONE;
}
}
final boolean finalSubmitChange = submitChange;