Assert message added in loadBranches method.

This commit is contained in:
Nadya.Zabrodina
2013-03-20 13:39:51 +04:00
parent 316daccfe2
commit c19042d7e5
@@ -118,7 +118,7 @@ public class HgMergeDialog extends DialogWrapper {
}
private void loadBranches(VirtualFile root) {
assert branchesForRepos.get(root) != null;
assert branchesForRepos.get(root) != null : "No inforamtion about root " + root;
branchSelector.setModel(new DefaultComboBoxModel(branchesForRepos.get(root).toArray()));
}