summaryrefslogtreecommitdiffstats
path: root/message-router/consumer/provider/src
diff options
context:
space:
mode:
authorThugutla Sailakshmi <tsaila10@in.ibm.com>2019-08-05 19:44:53 +0530
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-08-09 09:58:05 -0400
commitc5302e63a7cfffa1fdf7f435d559a49688747a84 (patch)
tree708b45b6a8132cb34eefab127c6a68e53ddf4b35 /message-router/consumer/provider/src
parentbe718ade10ffe698739ae724d50628e559d28805 (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: I6b6c75c07cccdd4b18027f6c4ab3badf9c273c97 Signed-off-by: Thugutla Sailakshmi <tsaila10@in.ibm.com>
Diffstat (limited to 'message-router/consumer/provider/src')
-rwxr-xr-xmessage-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java19
1 files changed, 10 insertions, 9 deletions
diff --git a/message-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java b/message-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java
index 0802bec2f..1aa02c70a 100755
--- a/message-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java
+++ b/message-router/consumer/provider/src/main/java/org/onap/ccsdk/sli/adaptors/messagerouter/consumer/provider/impl/ConsumerFactory.java
@@ -77,6 +77,16 @@ public class ConsumerFactory {
setDefaults();
}
+ public ConsumerFactory(String username, String password, String host, String group, String id, Integer connectTimeout, Integer readTimeout) {
+ this.username = username;
+ this.password = password;
+ this.host = host;
+ this.group = group;
+ this.id = id;
+ setDefaults();
+ }
+
+
public String getAuth() {
return auth;
}
@@ -133,15 +143,6 @@ public class ConsumerFactory {
processFilter(filter);
}
- public ConsumerFactory(String username, String password, String host, String group, String id, Integer connectTimeout, Integer readTimeout) {
- this.username = username;
- this.password = password;
- this.host = host;
- this.group = group;
- this.id = id;
- setDefaults();
- }
-
private Integer readOptionalInteger(Properties properties, String propertyName) {
String stringValue = properties.getProperty(propertyName);
if (stringValue != null && stringValue.length() > 0) {