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

[PATCH] Findbugs fixes

    XMLWordPrintableJSON

Details

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

    Description

      ExpressionNode: Use StringBuilder instead of String concatenation with '+'.
      ObjectIndexedPropertyDescriptor: Provide equals() and hashcode() implementation to override PropertyDescriptor.
      ExpressionCompiler: Remove redundant attempt to remove LocalReference key (keys are always of type String).
      ASTMethod: Use StringBuilder instead of String concatenation with '+'.
      DeclaredMethodCacheEntry: Modified equals() implementation to take account of super class fields.
      OgnlRuntime: Made static ints final. Use Map.entrySet instead of Map.keySet for better performance. Javadoc improvements.
      ASTChain: Remove int boxing, lets rely on autoboxing.
      ArrayPropertyAccessor: Remove unnecessary int boxing and redundant code.
      OgnlOps: use valueOf() instead of new for boxing. Adjust unnecessary conditional checking.

      Attachments

        1. patch-OGNL37.txt
          25 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: