From e372d8ad99ea9b2bbfb20e711c3faf906c2b0ef8 Mon Sep 17 00:00:00 2001 From: "jesus m. rodriguez" Date: Wed, 11 Nov 2009 12:47:17 -0500 Subject: 80 columns is the proper way of coding --- proxy/code/src/com/redhat/rhn/common/cert/Certificate.java | 3 ++- proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/proxy/code/src/com/redhat/rhn/common/cert/Certificate.java b/proxy/code/src/com/redhat/rhn/common/cert/Certificate.java index 3b5f22a..ddedfaf 100644 --- a/proxy/code/src/com/redhat/rhn/common/cert/Certificate.java +++ b/proxy/code/src/com/redhat/rhn/common/cert/Certificate.java @@ -50,7 +50,8 @@ public class Certificate { private String generation; private String signature; private List channelFamilies; - private static final String XML_HEADER = ""; + private static final String XML_HEADER = + ""; /** * Construct an empty certificate. diff --git a/proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java b/proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java index a57586f..2601215 100644 --- a/proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java +++ b/proxy/code/src/com/redhat/rhn/common/cert/CertificateFactory.java @@ -108,8 +108,8 @@ public class CertificateFactory { Certificate result = new Certificate(); Element root = doc.getRootElement(); if (!ELEM_CERT.equals(root.getName())) { - throw new JDOMException("Expected root element in " + source + " to be " + - ELEM_CERT + " but found " + root.getName()); + throw new JDOMException("Expected root element in " + source + + " to be " + ELEM_CERT + " but found " + root.getName()); } Element signature = root.getChild(ELEM_SIGNATURE); if (signature == null) { -- cgit