From e30ce5bcbda6caa6001e8af139d845116f18e141 Mon Sep 17 00:00:00 2001 From: lasantha Date: Mon, 5 Mar 2018 10:59:29 +0530 Subject: [PATCH] Format certificate-mgt-v0.9 source --- .../certificate/mgt/cert/jaxrs/api/beans/CertificateList.java | 4 ++-- .../carbon/certificate/mgt/jaxrs/beans/ErrorListItem.java | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api/src/main/java/org/wso2/carbon/certificate/mgt/cert/jaxrs/api/beans/CertificateList.java b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api/src/main/java/org/wso2/carbon/certificate/mgt/cert/jaxrs/api/beans/CertificateList.java index 2c61a4b23a0..feef40b873a 100644 --- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api/src/main/java/org/wso2/carbon/certificate/mgt/cert/jaxrs/api/beans/CertificateList.java +++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.cert.admin.v09.api/src/main/java/org/wso2/carbon/certificate/mgt/cert/jaxrs/api/beans/CertificateList.java @@ -16,6 +16,7 @@ * under the License. * */ + package org.wso2.carbon.certificate.mgt.cert.jaxrs.api.beans; import com.fasterxml.jackson.annotation.JsonProperty; @@ -43,7 +44,6 @@ public class CertificateList extends BasePaginatedResult { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("{\n"); - sb.append(" count: ").append(getCount()).append(",\n"); sb.append(" next: ").append(getNext()).append(",\n"); sb.append(" previous: ").append(getPrevious()).append(",\n"); @@ -51,5 +51,5 @@ public class CertificateList extends BasePaginatedResult { sb.append("]}\n"); return sb.toString(); } - } + diff --git a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api/src/main/java/org/wso2/carbon/certificate/mgt/jaxrs/beans/ErrorListItem.java b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api/src/main/java/org/wso2/carbon/certificate/mgt/jaxrs/beans/ErrorListItem.java index 735f3e837d9..4b713af92bd 100644 --- a/components/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api/src/main/java/org/wso2/carbon/certificate/mgt/jaxrs/beans/ErrorListItem.java +++ b/components/certificate-mgt/org.wso2.carbon.certificate.mgt.v09.api/src/main/java/org/wso2/carbon/certificate/mgt/jaxrs/beans/ErrorListItem.java @@ -16,6 +16,7 @@ * under the License. * */ + package org.wso2.carbon.certificate.mgt.jaxrs.beans; import com.fasterxml.jackson.annotation.JsonProperty; @@ -69,11 +70,9 @@ public class ErrorListItem { public String toString() { StringBuilder sb = new StringBuilder(); sb.append("errorItem {\n"); - sb.append(" code: ").append(code).append("\n"); sb.append(" message: ").append(message).append("\n"); sb.append("}\n"); return sb.toString(); } - }