From fedce05358661e9fa5fb0c82f7be6961bfbd498c Mon Sep 17 00:00:00 2001 From: Driptaroop Das Date: Thu, 3 Jan 2019 11:46:29 +0530 Subject: PeerBroadcastSocket(Make "channelMap" field final) PeerBroadcastSocket.java - Make this "public static channelMap" field final(line:58) Issue-ID: PORTAL-500 Change-Id: Id1227b06e64d37b29c66083da0ef8f37b2c032df Signed-off-by: Driptaroop Das --- .../main/java/org/onap/portalapp/controller/PeerBroadcastSocket.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'ecomp-portal-BE-os/src/main') diff --git a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/PeerBroadcastSocket.java b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/PeerBroadcastSocket.java index efad3c68..cbc34337 100644 --- a/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/PeerBroadcastSocket.java +++ b/ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/PeerBroadcastSocket.java @@ -3,6 +3,8 @@ * ONAP Portal * =================================================================== * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * + * Modifications Copyright (C) 2019 IBM. * =================================================================== * * Unless otherwise specified, all software contained herein is licensed @@ -55,7 +57,7 @@ public class PeerBroadcastSocket { EELFLoggerDelegate logger = EELFLoggerDelegate.getLogger(PeerBroadcastSocket.class); - public static Map channelMap = new Hashtable(); + public final static Map channelMap = new Hashtable(); public Map sessionMap = new Hashtable(); ObjectMapper mapper = new ObjectMapper(); -- cgit 1.2.3-korg