Change in ovirt-engine[master]: core: Integer reference comparison fix

masayag at redhat.com masayag at redhat.com
Thu Nov 8 07:54:40 UTC 2012


Moti Asayag has submitted this change and it was merged.

Change subject: core: Integer reference comparison fix
......................................................................


core: Integer reference comparison fix

Changed the comparison from reference comparison(==) to equals on
Integer values, since higher values of Integer are not cached, and
there is no varanty even with lower values.

Change-Id: I001fcb6349b36ee22e49e003c8391ad44002e5ac
Signed-off-by: Laszlo Hornyak <lhornyak at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterManager.java
1 file changed, 4 insertions(+), 3 deletions(-)

Approvals:
  Moti Asayag: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/9104
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I001fcb6349b36ee22e49e003c8391ad44002e5ac
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Laszlo Hornyak <lhornyak at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Sharad Mishra <snmishra at linux.vnet.ibm.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal at redhat.com>



More information about the Engine-commits mailing list