Uploaded image for project: 'Commons OGNL (Dormant)'
  1. Commons OGNL (Dormant)
  2. OGNL-210

[PATCH] Improvements to {List,Map,Array}PropertyAccessor and ASTProperty

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 4.0
    • None
    • None

    Description

      • Flipped equals() everywhere where a variable is tested against a String constant.
      • ListPropertyAccessor: CPD fix, extracted shared method getSourceBeanMethod() from getSourceSetter() and getSourceAccessor().
      • ASTProperty: CPD fix, extracted shared method getSourceString() from toGetSourceString() and toSetSourceString().
      • ArrayPropertyAccessor: CPD fix, extracted getIndexString() from getSourceAccessor() and getSourceSetter().

      Attachments

        1. patch-OGNL35.txt
          11 kB
          Adrian Cumiskey
        2. patch-OGNL35-v2.txt
          27 kB
          Adrian Cumiskey

        Activity

          People

            maurizio.cucchiara Maurizio Cucchiara
            acumiskey Adrian Cumiskey
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: