diff options
Diffstat (limited to 'message-router/publisher')
-rwxr-xr-x | message-router/publisher/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/publisher/provider/impl/PublisherApiImpl.java | 10 |
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();
}
|