Yaniv Bronhaim has posted comments on this change.

Change subject: core: avoid findbug issues for encoding and bare exceptions 
catch
......................................................................


Patch Set 5:

(1 comment)

http://gerrit.ovirt.org/#/c/28824/5/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/host/provider/foreman/ForemanHostProviderProxy.java
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/host/provider/foreman/ForemanHostProviderProxy.java:

Line 306:             @Override
Line 307:             public long getContentLength() {
Line 308:                 long len = 0;
Line 309:                 try {
Line 310:                     len = entityBody.getBytes("UTF-8").length;
> same
thanks. didn't see that.
Line 311:                 } catch (UnsupportedEncodingException e) {
Line 312:                     handleException(e);
Line 313:                 }
Line 314:                 return len;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I6f87ad979954807feb68c5fa971da246b01beaef
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: Moti Asayag <masa...@redhat.com>
Gerrit-Reviewer: Oved Ourfali <oourf...@redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybron...@redhat.com>
Gerrit-Reviewer: automat...@ovirt.org
Gerrit-Reviewer: mooli tayer <mta...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to