Merge "Fix possible NPE in PatchSetSelectBox"

This commit is contained in:
Edwin Kempin 2013-08-23 08:39:08 +00:00 committed by Gerrit Code Review
commit 4a82f71b20

View File

@ -133,7 +133,7 @@ public class PatchSetSelectBox extends Composite {
if (idActive == null && side == Side.A) {
links.get(0).setStyleName(style.selected());
} else {
} else if (idActive != null) {
links.get(idActive.get()).setStyleName(style.selected());
}