summaryrefslogtreecommitdiffstats
path: root/policy-endpoints/src/main/java/org/onap
diff options
context:
space:
mode:
authorKrzysztof Opasiak <k.opasiak@samsung.com>2019-01-29 23:12:46 +0100
committerKrzysztof Opasiak <k.opasiak@samsung.com>2019-01-31 21:15:59 +0100
commit1a08853062d62ea52d1a0df029b2a5e25d458d15 (patch)
treeb034a38ed62b5aa9dd0a74c658f1c10335201c4c /policy-endpoints/src/main/java/org/onap
parentbda6bcb4f61cd4b42b216db9a9b2c7dcaa72997e (diff)
Don't reinit allowSelfSignedCerts
allowselfsignedcerts field is defined and initialized in BusTopicBase so there is need to overwrite it once agin with the same value. Change-Id: Id0a389921954606392eb2cb3c23cd0d8ee3dc4ae Issue-ID: POLICY-1387 Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Diffstat (limited to 'policy-endpoints/src/main/java/org/onap')
-rw-r--r--policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/internal/SingleThreadedUebTopicSource.java12
1 files changed, 4 insertions, 8 deletions
diff --git a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/internal/SingleThreadedUebTopicSource.java b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/internal/SingleThreadedUebTopicSource.java
index de6aa860..f6d4b531 100644
--- a/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/internal/SingleThreadedUebTopicSource.java
+++ b/policy-endpoints/src/main/java/org/onap/policy/common/endpoints/event/comm/bus/internal/SingleThreadedUebTopicSource.java
@@ -3,14 +3,14 @@
* policy-endpoints
* ================================================================================
* Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
- * Modified Copyright (C) 2018 Samsung Electronics Co., Ltd.
+ * Modifications Copyright (C) 2018-2019 Samsung Electronics Co., Ltd.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -32,16 +32,13 @@ public class SingleThreadedUebTopicSource extends SingleThreadedBusTopicSource i
/**
* Constructor.
- *
+ *
* @param busTopicParams Parameters object containing all the required inputs
* @throws IllegalArgumentException An invalid parameter passed in
*/
public SingleThreadedUebTopicSource(BusTopicParams busTopicParams) {
-
super(busTopicParams);
- this.allowSelfSignedCerts = busTopicParams.isAllowSelfSignedCerts();
-
this.init();
}
@@ -68,7 +65,6 @@ public class SingleThreadedUebTopicSource extends SingleThreadedBusTopicSource i
return Topic.CommInfrastructure.UEB;
}
-
@Override
public String toString() {
StringBuilder builder = new StringBuilder();