Change in ovirt-engine[master]: core: Correct VmPool.hashCode() and equals()

ahadas at redhat.com ahadas at redhat.com
Fri Jun 12 12:21:15 UTC 2015


Arik Hadas has submitted this change and it was merged.

Change subject: core: Correct VmPool.hashCode() and equals()
......................................................................


core: Correct VmPool.hashCode() and equals()

Using the same set of fields for both hashCode() and equals() so two
VmPool objects considered equal will have equal hashcodes.

Change-Id: I70638a292a7d7ee0ee349721c3b2f8c6d6a0847f
Signed-off-by: Shmuel Melamud <smelamud at redhat.com>
---
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/VmPool.java
1 file changed, 3 insertions(+), 6 deletions(-)

Approvals:
  Jenkins CI: Verified; Looks good to me, but someone else must approve
  Shmuel Leib Melamud: Verified
  Arik Hadas: Looks good to me, approved



-- 
To view, visit https://gerrit.ovirt.org/41903
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I70638a292a7d7ee0ee349721c3b2f8c6d6a0847f
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Shmuel Leib Melamud <smelamud at redhat.com>
Gerrit-Reviewer: Shmuel Melamud <smelamud at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list