Skip to content

Commit

Permalink
Merge pull request #115 from msekoranja/master
Browse files Browse the repository at this point in the history
beaconHandler lazy initialization fix
  • Loading branch information
shroffk authored Feb 16, 2021
2 parents f5f3237 + ece7bc9 commit 3a32ca5
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 3a32ca5

Please sign in to comment.