diff options
author | Ram Koya <rk541m@att.com> | 2018-08-31 15:27:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2018-08-31 15:27:47 +0000 |
commit | dabb73bcd7bffba2153d543f847ffed7aea6f1fe (patch) | |
tree | 06ca5aa5d71261cff916b3afbdcf9f3f54ddfecb /src/main/java | |
parent | 54e0dbac4ce69241629858e8962ac18e5ea3df68 (diff) | |
parent | abb09abae2d53b752aed72eb36449c432bf8199e (diff) |
Merge "MR_Cluster.java : Fixed sonar issue"
Diffstat (limited to 'src/main/java')
-rw-r--r-- | src/main/java/org/onap/dmaap/dbcapi/model/MR_Cluster.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/java/org/onap/dmaap/dbcapi/model/MR_Cluster.java b/src/main/java/org/onap/dmaap/dbcapi/model/MR_Cluster.java index 166fc21..06b6194 100644 --- a/src/main/java/org/onap/dmaap/dbcapi/model/MR_Cluster.java +++ b/src/main/java/org/onap/dmaap/dbcapi/model/MR_Cluster.java @@ -48,17 +48,17 @@ public class MR_Cluster extends DmaapObject { private static String defaultTargetReplicationPort; private static void setDefaults() { - boolean been_here = false; + /* boolean been_here = false; if ( been_here ) { return; - } + } */ DmaapConfig dc = (DmaapConfig)DmaapConfig.getConfig(); defaultTopicProtocol = dc.getProperty("MR.TopicProtocol", "https"); defaultTopicPort = dc.getProperty( "MR.TopicPort", "3905"); defaultReplicationGroup = dc.getProperty( "MR.ReplicationGroup", "" ); defaultSourceReplicationPort = dc.getProperty( "MR.SourceReplicationPort", "2181"); defaultTargetReplicationPort = dc.getProperty( "MR.TargetReplicationPort", "9092"); - been_here = true; + // been_here = true; } |