Change in ovirt-engine[master]: core: fix conflicting getter definitions

ofrenkel at redhat.com ofrenkel at redhat.com
Thu Jun 5 07:35:37 UTC 2014


Omer Frenkel has submitted this change and it was merged.

Change subject: core: fix conflicting getter definitions
......................................................................


core: fix conflicting getter definitions

For several boolean fields in RunVmParams we have both "isX" & "getX"
getters, thus json produce: IllegalArgumentException: Conflicting
getter definitions for property.

The solution is to remove the "isX" getters which should be used only
for primitive boolean fields.

Change-Id: I37b5e286c21814e757e6369ef9b2a642ac0c621d
Signed-off-by: Arik Hadas <ahadas at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/action/RunVmParams.java
2 files changed, 21 insertions(+), 18 deletions(-)

Approvals:
  Omer Frenkel: Looks good to me, approved
  Arik Hadas: Verified
  Michal Skrivanek: Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I37b5e286c21814e757e6369ef9b2a642ac0c621d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Martin Betak <mbetak at redhat.com>
Gerrit-Reviewer: Michal Skrivanek <michal.skrivanek at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list