if (changeList != null)
{
try {
if (changeList instanceof GitCommittedChangeList) {
final VcsRevisionNumber revisionNumber = ((GitCommittedChangeList) changeList).getRevisionNumber();
tfVcsAfterRev.setText(null == revisionNumber ? null : revisionNumber.asString());
} else {
tfVcsAfterRev.setText(String.valueOf(changeList.getNumber()));
}
} catch (NoClassDefFoundError ex) {
tfVcsAfterRev.setText(String.valueOf(changeList.getNumber()));