Uploaded image for project: 'Forge'
  1. Forge
  2. FORGE-513

AnnotationImpl.removeValue(String) does nothing

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Done
    • None
    • 1.0.1.Final
    • None
    • None

    Description

      annotation.removeValue("regex") doesn't remove the attribute regex.

      The error is in AnnotationImpl#removeValue(String)

      if (pair.getValue().toString().equals(name))
      

      should be replaced with somthing like this

      if (pair.getName().toString().equals(name))
      

      Attachments

        Activity

          People

            lincolnthree Lincoln Baxter III (Inactive)
            gonzalad_jira Dupont Dupont (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: