wang3820 commented on code in PR #2097:
URL: https://github.com/apache/jena/pull/2097#discussion_r1398226039
##########
jena-core/src/main/java/org/apache/jena/shared/impl/PrefixMappingImpl.java:
##########
@@ -49,8 +50,8 @@ public PrefixMappingImpl()
{
// ConcurrentHashMaps protects against breaking each datastructure
// but does not protect against inconsistency.
- prefixToURI = new ConcurrentHashMap<>();
- URItoPrefix = new ConcurrentHashMap<>();
+ prefixToURI = new ConcurrentSkipListMap<>();
+ URItoPrefix = new ConcurrentSkipListMap<>();
}
Review Comment:
I understand. Thanks for pointing it out.
--
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]