From 1a08853062d62ea52d1a0df029b2a5e25d458d15 Mon Sep 17 00:00:00 2001 From: Krzysztof Opasiak Date: Tue, 29 Jan 2019 23:12:46 +0100 Subject: 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 --- .../comm/bus/internal/SingleThreadedUebTopicSource.java | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'policy-endpoints/src/main/java/org/onap') 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(); -- cgit 1.2.3-korg