summaryrefslogtreecommitdiffstats
path: root/models-interactions
diff options
context:
space:
mode:
authorJim Hahn <jrh3@att.com>2021-02-12 22:33:23 +0000
committerGerrit Code Review <gerrit@onap.org>2021-02-12 22:33:23 +0000
commit5f92fb77a89fd92a55b1448d6ca5421f3797d822 (patch)
treebc787ff8dfa25eeba0002c34b6f219217475b4eb /models-interactions
parentb07dd8a325f55d03f4dfec511ecd096429b4c7b0 (diff)
parent222018349b49d229fc95a3939f4eaad3a3b663a8 (diff)
Merge "More sonars in models"
Diffstat (limited to 'models-interactions')
-rw-r--r--models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/TopicServer.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/TopicServer.java b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/TopicServer.java
index 4c01511da..004a2e20c 100644
--- a/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/TopicServer.java
+++ b/models-interactions/model-simulators/src/main/java/org/onap/policy/simulators/TopicServer.java
@@ -2,7 +2,7 @@
* ============LICENSE_START=======================================================
* ONAP
* ================================================================================
- * Copyright (C) 2020 AT&T Intellectual Property. All rights reserved.
+ * Copyright (C) 2020-2021 AT&T Intellectual Property. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -43,7 +43,7 @@ public abstract class TopicServer<Q> implements TopicListener {
* @param sink sink to which responses should be published
* @param source source from which requests arrive
*/
- public TopicServer(TopicSink sink, TopicSource source, Coder coder, Class<Q> reqClass) {
+ protected TopicServer(TopicSink sink, TopicSource source, Coder coder, Class<Q> reqClass) {
this.sink = sink;
this.source = source;
this.coder = coder;