[
https://issues.apache.org/jira/browse/JENA-1699?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andy Seaborne resolved JENA-1699.
---------------------------------
Resolution: Fixed
> 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)