Improved: Remove unneeded code in ‘entity’ component (OFBIZ-10777) Thanks Mathieu Lirzin for your contribution