Fixed all PMD warnings in Entity.