Fix "Suspicious comparison of Integer references"

As reported by FindBugs:

This method compares two reference values using the == or != operator,
where the correct way to compare instances of this type is generally
with the equals() method. It is possible to create distinct instances
that are equal but do not compare as == since they are different
objects. Examples of classes which should generally not be compared by
reference are java.lang.Integer, java.lang.Float, etc.

Change-Id: Ic976cc752314ff3ff6788530488fd00b0a6bb848
2 files changed
tree: 6113682e2f4c8ce19ebd48423b71a17cacd858e3
  1. .gitignore
  2. LICENSE
  3. pom.xml
  4. src/