Use java.util.Objects instead on internal API

    Not needed since java.util.Objects implements all the needed
    functionality.

Change-Id: Ibd8ea739e929fe476b3a722af596683e7d030053