Change in ovirt-engine[master]: core: Adding convenience methods to Version.java

rgolan at redhat.com rgolan at redhat.com
Thu Dec 10 11:36:02 UTC 2015


Roy Golan has submitted this change and it was merged.

Change subject: core: Adding convenience methods to Version.java
......................................................................


core: Adding convenience methods to Version.java

Version.compare(version) might be comfusing so adding 4 convenience
methods:

greater(version)
less(version)
greaterOrEquals(version)
lessOrEquals(version)

Change-Id: I04a3b17859776f896b41503f5edd83c6f003cb40
Bug-Url: https://bugzilla.redhat.com/1269768
Signed-off-by: Roy Golan <rgolan at redhat.com>
---
M backend/manager/modules/compat/src/main/java/org/ovirt/engine/core/compat/Version.java
M backend/manager/modules/compat/src/test/java/org/ovirt/engine/core/compat/VersionTest.java
2 files changed, 60 insertions(+), 0 deletions(-)

Approvals:
  Eli Mesika: Looks good to me, approved
  Jenkins CI: Passed CI tests
  Allon Mureinik: Looks good to me, but someone else must approve
  Roy Golan: Verified



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I04a3b17859776f896b41503f5edd83c6f003cb40
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Eli Mesika <emesika at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Peřina <mperina at redhat.com>
Gerrit-Reviewer: Moti Asayag <masayag at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list