(bug 44661) cleanup to getContent in ViewEntityAction

- just a nicer way to do it

Change-Id: I3cc0731cde546008e69e2dcf17f5730daf6c9ca4
Merge "(bug 44661) cleanup to getContent in ViewEntityAction"