diff options
author | 2019-01-03 11:46:29 +0530 | |
---|---|---|
committer | 2019-01-03 11:55:42 +0530 | |
commit | fedce05358661e9fa5fb0c82f7be6961bfbd498c (patch) | |
tree | cf0530ee0357548da0d6835bdc641ee865f5e086 /ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/PeerBroadcastSocket.java | |
parent | 2115ee55bdbcc81e80f6ffb5777113600de37208 (diff) |
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 <driptaroop.das@in.ibm.com>
Diffstat (limited to 'ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/PeerBroadcastSocket.java')
-rw-r--r-- | ecomp-portal-BE-os/src/main/java/org/onap/portalapp/controller/PeerBroadcastSocket.java | 4 |
1 files changed, 3 insertions, 1 deletions
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<String, Object> channelMap = new Hashtable<String, Object>(); + public final static Map<String, Object> channelMap = new Hashtable<String, Object>(); public Map<String, String> sessionMap = new Hashtable<String, String>(); ObjectMapper mapper = new ObjectMapper(); |