aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThugutla sailakshmi <tsaila10@in.ibm.com>2019-08-13 15:09:36 +0530
committerDan Timoney <dtimoney@att.com>2019-08-19 16:38:50 +0000
commit2c933a0141303403d5c0bc82b96983646fdb4e03 (patch)
treeadceeb950d111ddfae45ada5138475f318ec75a9
parent4f904e35e997616cab3cec3344efbb3a6899bc79 (diff)
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 <tsaila10@in.ibm.com>
-rwxr-xr-xmessage-router/publisher/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/provider/impl/PublisherApiImpl.java10
1 files changed, 5 insertions, 5 deletions
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();
}