You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2016/02/13 18:41:18 UTC
[jira] [Resolved] (JENA-1141) NodeToTriplesMapMem calls "get" then
"put" - replace with a "getPutIfAbsent"
[ https://issues.apache.org/jira/browse/JENA-1141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andy Seaborne resolved JENA-1141.
---------------------------------
Resolution: Done
> NodeToTriplesMapMem calls "get" then "put" - replace with a "getPutIfAbsent"
> ----------------------------------------------------------------------------
>
> Key: JENA-1141
> URL: https://issues.apache.org/jira/browse/JENA-1141
> Project: Apache Jena
> Issue Type: Improvement
> Reporter: Andy Seaborne
> Priority: Minor
>
> NodeToTriplesMapMem line 45 and other places.
> It walks the hash map twice to insert a new item.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)