type = IMessageProvider.INFORMATION;
} else if (!isCommitWithoutFilesAllowed()) {
message = UIText.CommitDialog_MessageNoFilesSelected;
type = IMessageProvider.INFORMATION;
} else {
CommitStatus status = commitMessageComponent.getStatus();
message = status.getMessage();
type = status.getMessageType();
}
setMessage(message, type);
boolean commitEnabled = type == IMessageProvider.WARNING
|| type == IMessageProvider.NONE;