From 2c933a0141303403d5c0bc82b96983646fdb4e03 Mon Sep 17 00:00:00 2001 From: Thugutla sailakshmi Date: Tue, 13 Aug 2019 15:09:36 +0530 Subject: CCSDK-1556 -Move this constructor to comply with Java Code Conventions Move this constructor to comply with Java Code Conventions Issue-ID: CCSDK-1556 Change-Id: Ie67a857455888b8046575136f0605c5bf3c3bbb9 Signed-off-by: Thugutla sailakshmi --- .../publisher/provider/impl/PublisherApiImpl.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'message-router/publisher/provider') diff --git a/message-router/publisher/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/provider/impl/PublisherApiImpl.java b/message-router/publisher/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/provider/impl/PublisherApiImpl.java index 4efb77c5..4aedc607 100755 --- a/message-router/publisher/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/provider/impl/PublisherApiImpl.java +++ b/message-router/publisher/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/provider/impl/PublisherApiImpl.java @@ -48,6 +48,11 @@ public class PublisherApiImpl implements PublisherApi { protected String[] hosts; private String password; + public PublisherApiImpl() { + connectTimeout = DEFAULT_CONNECT_TIMEOUT; + readTimeout = DEFAULT_READ_TIMEOUT; + } + public void setUsername(String username) { this.username = username; setAuthorizationString(); @@ -67,11 +72,6 @@ public class PublisherApiImpl implements PublisherApi { } } - public PublisherApiImpl() { - connectTimeout = DEFAULT_CONNECT_TIMEOUT; - readTimeout = DEFAULT_READ_TIMEOUT; - } - public void init() { setAuthorizationString(); } -- cgit 1.2.3-korg