Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1699

PrefixMapStd.delete does not clear the abbreviation map.

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Jena 3.10.0
    • Jena 3.11.0
    • RIOT
    • None

    Description

      Example:

        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.
      

      PrefixMapStd keeps two maps prefix to IRI and IRI string to prefix. It fails to clear the second map in .delete.

      Attachments

        Issue Links

          Activity

            People

              andy Andy Seaborne
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m