Change in ovirt-engine[master]: core: Use "parseInt" and "parseLong" in "GlusterVolumeProfil...

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Sep 25 08:28:25 UTC 2015


Juan Hernandez has submitted this change and it was merged.

Change subject: core: Use "parseInt" and "parseLong" in "GlusterVolumeProfileInfoReturnForXmlRpc"
......................................................................


core: Use "parseInt" and "parseLong" in "GlusterVolumeProfileInfoReturnForXmlRpc"

This is needed in order to avoid the following findbugs error:

  Boxing/unboxing to parse a primitive

  A boxed primitive is created from a String, just to extract the
  unboxed primitive value. It is more efficient to just call the static
  parseXXX method.

  Bug kind and pattern: Bx - DM_BOXED_PRIMITIVE_FOR_PARSING

Change-Id: Ia924318483fe1315fc4794c768d1fa7a9a995ffd
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/gluster/GlusterVolumeProfileInfoReturnForXmlRpc.java
1 file changed, 4 insertions(+), 4 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia924318483fe1315fc4794c768d1fa7a9a995ffd
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Dhandapani Gopal <dgopal at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list