tkalkirill commented on code in PR #2448:
URL: https://github.com/apache/ignite-3/pull/2448#discussion_r1298222186
##########
modules/distribution-zones/src/main/java/org/apache/ignite/internal/distributionzones/causalitydatanodes/CausalityDataNodesEngine.java:
##########
@@ -89,7 +89,7 @@ public class CausalityDataNodesEngine {
* zoneId -> (revision -> zoneConfiguration).
* TODO IGNITE-20050 Clean up this map.
*/
- private final ConcurrentHashMap<Integer, ConcurrentSkipListMap<Long,
ZoneConfiguration>> zonesVersionedCfg;
+ private final ConcurrentHashMap<Integer, ConcurrentSkipListMap<Long,
ZoneConfiguration>> zonesVersionedCfg = new ConcurrentHashMap<>();
Review Comment:
Why is it in the constructor? To me it looks better.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]