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

AnnotationImpl.removeValue(String) does nothing

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.1.Final
    • None
    • None
    • None

      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))
      

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

                Created:
                Updated:
                Resolved: