Kaydet (Commit) 08680c58 authored tarafından Caolán McNamara's avatar Caolán McNamara

coverity#1326438 Dereference null return value

and

coverity#1326439 Dereference null return value

Change-Id: Idf7e6f34accfb5d5b98a62f6ad221c325e24586a
üst 524c9952
......@@ -109,6 +109,12 @@ public class OfficeGroupLayoutController extends SectionLayoutController
final OfficeGroup group = (OfficeGroup) getElement();
final OfficeGroupSection header = group.getHeader();
if (header == null)
{
return controller;
}
controller.waitForJoin = true;
return processChild(controller, header, getFlowController());
}
......@@ -127,6 +133,12 @@ public class OfficeGroupLayoutController extends SectionLayoutController
final OfficeGroup group = (OfficeGroup) getElement();
final OfficeGroupSection footer = group.getFooter();
if (footer == null)
{
return controller;
}
controller.waitForJoin = true;
return processChild(controller, footer, getFlowController());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment