Alon Bar-Lev has uploaded a new change for review. Change subject: pki: cleanup: Format string should use %n rather than \n ......................................................................
pki: cleanup: Format string should use %n rather than \n Workaround to quiet findbugs... we do need \n... Change-Id: I82a2346dca472245e6e28ed6f2a76b465685bf98 Signed-off-by: Alon Bar-Lev <[email protected]> --- M backend/manager/modules/root/src/main/java/org/ovirt/engine/core/pki/PKIResourceServlet.java 1 file changed, 4 insertions(+), 3 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/13/13513/1 diff --git a/backend/manager/modules/root/src/main/java/org/ovirt/engine/core/pki/PKIResourceServlet.java b/backend/manager/modules/root/src/main/java/org/ovirt/engine/core/pki/PKIResourceServlet.java index ea78c44..674d2c7 100644 --- a/backend/manager/modules/root/src/main/java/org/ovirt/engine/core/pki/PKIResourceServlet.java +++ b/backend/manager/modules/root/src/main/java/org/ovirt/engine/core/pki/PKIResourceServlet.java @@ -88,10 +88,11 @@ response.getWriter().print( String.format( ( - "-----BEGIN CERTIFICATE-----\n" + - "%1$s" + - "-----END CERTIFICATE-----\n" + "-----BEGIN CERTIFICATE-----%1$c" + + "%2$s" + + "-----END CERTIFICATE-----%1$c" ), + '\n', new Base64( 76, new byte[] { (byte)'\n' } -- To view, visit http://gerrit.ovirt.org/13513 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I82a2346dca472245e6e28ed6f2a76b465685bf98 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Alon Bar-Lev <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
