Schema_120: Fix comparison to use equality instead of identity
Change-Id: I240c72260a30c332edfe992f34da906ee1898853
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 (s1.getProject() == superBranch.getParentKey()) {
|
if (s1.getProject().equals(superBranch.getParentKey())) {
|
||||||
s = s1;
|
s = s1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user