[ 
https://issues.apache.org/jira/browse/JENA-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16809163#comment-16809163
 ] 

ASF subversion and git services commented on JENA-1699:
-------------------------------------------------------

Commit 36d05a3f1c57e0f7b9d961fa0554fc693530ee4f in jena's branch 
refs/heads/master from Andy Seaborne
[ https://gitbox.apache.org/repos/asf?p=jena.git;h=36d05a3 ]

JENA-1699: Clear deleted prefix from the abbreviation map


> PrefixMapStd.delete does not clear the abbreviation map.
> --------------------------------------------------------
>
>                 Key: JENA-1699
>                 URL: https://issues.apache.org/jira/browse/JENA-1699
>             Project: Apache Jena
>          Issue Type: Task
>          Components: RIOT
>    Affects Versions: Jena 3.10.0
>            Reporter: Andy Seaborne
>            Assignee: Andy Seaborne
>            Priority: Major
>             Fix For: Jena 3.11.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Example:
> {code:java}
>   PrefixMap pmap = PrefixMapFactory.create();
>   pmap.add("ex", "http://example/";);
>   pmap.delete("ex");
>   String x = pmap.abbreviate("http://example/s";);
>   // "x" is ":s", not null, for can't abbreviate.
> {code}
> {{PrefixMapStd}} keeps two maps prefix to IRI and IRI string to prefix. It 
> fails to clear the second map in {{.delete}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to