Commit 23f1a39b authored by Kristof Szabados's avatar Kristof Szabados
Browse files

lets not add null to the requestor list.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent 1ae9cf18
......@@ -5978,7 +5978,9 @@ public class MainController {
private static RequestorStruct init_requestors(final ComponentStruct tc) {
final RequestorStruct requestors = new RequestorStruct();
requestors.components.add(tc);
if (tc != null) {
requestors.components.add(tc);
}
return requestors;
}
......
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