Schema_120: Fix comparison to prevent NPE
Change-Id: I80e6e22f9eeddddceb99f8b13180b21fa71d8cb6
This commit is contained in:
@@ -62,7 +62,7 @@ public class Schema_120 extends SchemaVersion {
|
|||||||
|
|
||||||
SubscribeSection s = null;
|
SubscribeSection s = null;
|
||||||
for (SubscribeSection s1 : pc.getSubscribeSections(subbranch)) {
|
for (SubscribeSection s1 : pc.getSubscribeSections(subbranch)) {
|
||||||
if (s.getProject() == superBranch.getParentKey()) {
|
if (s1.getProject() == superBranch.getParentKey()) {
|
||||||
s = s1;
|
s = s1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user