Revert "updated ObjectUtils.java and Entity.java. Added diff functions to Entity.java"

This reverts commit 3990f7afa31ab05ff1697e709085a98f1f93ae8f.