LPS-32737 - preventing potential null pointer for portletIdsMap in header
LPS-32737 Source formatting