Change in ovirt-engine[master]: core: Remove api's StrigUtils

amureini at redhat.com amureini at redhat.com
Thu Apr 4 14:31:40 UTC 2013


Allon Mureinik has submitted this change and it was merged.

Change subject: core: Remove api's StrigUtils
......................................................................


core: Remove api's StrigUtils

This patch removes the class
org.ovirt.engine.api.common.util.StringUtils.

It only had one method (isNullOrEmpty(String)), which was only used in
two places.
This method's body is completely identical to
org.apache.commons.lang.StringUtils.isEmpty(String), so it could easily
be replaced.

Change-Id: Ia6f116f861975db24b710db457b40491908ff1d1
Signed-off-by: Allon Mureinik <amureini at redhat.com>
---
M backend/manager/modules/restapi/interface/common/jaxrs/src/main/java/org/ovirt/engine/api/common/util/StatusUtils.java
D backend/manager/modules/restapi/interface/common/jaxrs/src/main/java/org/ovirt/engine/api/common/util/StringUtils.java
M backend/manager/modules/restapi/types/src/main/java/org/ovirt/engine/api/restapi/types/DataCenterMapper.java
3 files changed, 5 insertions(+), 29 deletions(-)

Approvals:
  Allon Mureinik: Verified; Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia6f116f861975db24b710db457b40491908ff1d1
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Michael Pasternak <mpastern at redhat.com>
Gerrit-Reviewer: Ori Liel <oliel at redhat.com>



More information about the Engine-commits mailing list