Skip to content

Commit

Permalink
beaconHandler lazy initialization fix
Browse files Browse the repository at this point in the history
  • Loading branch information
msekoranja authored Feb 9, 2021
1 parent f5f3237 commit ece7bc9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1023,7 +1023,7 @@ public BeaconHandler getBeaconHandler(String protocol, InetSocketAddress respons
Map<InetSocketAddress, BeaconHandlerImpl> protocolBeaconHandlersMap = beaconHandlers.get(protocol);
if (protocolBeaconHandlersMap == null) {
protocolBeaconHandlersMap = new HashMap<InetSocketAddress, BeaconHandlerImpl>();
beaconHandlers.get(protocolBeaconHandlersMap);
beaconHandlers.put(protocol, protocolBeaconHandlersMap);
}

BeaconHandlerImpl handler = protocolBeaconHandlersMap.get(responseFrom);
Expand Down

0 comments on commit ece7bc9

Please sign in to comment.