jacek-lewandowski commented on code in PR #2962:
URL: https://github.com/apache/cassandra/pull/2962#discussion_r1416940875


##########
src/java/org/apache/cassandra/schema/TableMetadataRefCache.java:
##########
@@ -50,9 +52,9 @@ public TableMetadataRefCache(Map<TableId, TableMetadataRef> 
metadataRefs,
                                  Map<Pair<String, String>, TableMetadataRef> 
metadataRefsByName,

Review Comment:
   We could use `UnmodifiableMap.decorate` from commons collections and leave 
the constructor as it is. `decorate` is smarter and it would not wrap already 
wrapped collections.



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to