Change in ovirt-engine[master]: core: Enum recognition for SQL serialization

Code Review gerrit at ovirt.org
Mon Jun 5 15:10:25 UTC 2017


>From Arik Hadas <ahadas at redhat.com>:

Arik Hadas has submitted this change and it was merged.

Change subject: core: Enum recognition for SQL serialization
......................................................................


core: Enum recognition for SQL serialization

Previously an enum instance was recognized by `.getClass().isEnum()`
which doesn't work for instance with instance specific methods.

Recognition changed to `instanceof Enum`.

Change-Id: If5b5a1eeaeab721eb5a42e3556cc0e3a4b7574ba
Signed-off-by: Jakub Niedermertl <jniederm at redhat.com>
---
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/CustomMapSqlParameterSource.java
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Jakub Niedermertl: Verified
  Jenkins CI: Passed CI tests
  Arik Hadas: Looks good to me, approved



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

Gerrit-MessageType: merged
Gerrit-Change-Id: If5b5a1eeaeab721eb5a42e3556cc0e3a4b7574ba
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Jakub Niedermertl <jniederm at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>


More information about the Engine-commits mailing list