Commons OGNL
  1. Commons OGNL
  2. OGNL-15

public abstract Boolean getQuery() vs isQuery()

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.6.9, 2.6.11, 2.7
    • Fix Version/s: 2.7
    • Component/s: Core Runtime
    • Labels:
      None
    • Environment:
      Any/All

      Description

      When using abstract definitions for ordinary accessors we always use get* and OGNL retrieves these normally.

      When using abstract boolean accessor we always use is* and OGNL retrieves this normally.

      When using abstract Boolean accessor we are forced back to a get* and I'm really not sure what OGNL does in this situation.

        Activity

        Tony Stevenson made changes -
        Project Import Mon Jun 18 09:00:45 UTC 2012 [ 1340010045016 ]
        Jesse Kuhnert made changes -
        Resolution Fixed [ 1 ]
        Status Open [ 1 ] Resolved [ 5 ]
        Hide
        Jesse Kuhnert added a comment -

        Appears to be fixed in the latest ognl version.

        (make sure you get ognl from http://opencomponentry.com/repository/m2-snapshot-repo/ )

        Show
        Jesse Kuhnert added a comment - Appears to be fixed in the latest ognl version. (make sure you get ognl from http://opencomponentry.com/repository/m2-snapshot-repo/ )
        Jesse Kuhnert made changes -
        Field Original Value New Value
        Component/s Core Runtime [ 21251 ]
        Component/s PropertyAccessors [ 21250 ]
        Fix Version/s 2.7 [ 21688 ]
        Affects Version/s 2.6.9 [ 21687 ]
        Affects Version/s 2.6.11 [ 21685 ]
        Affects Version/s 2.7 [ 21688 ]
        Murray Collingwood created issue -

          People

          • Assignee:
            Jesse Kuhnert
            Reporter:
            Murray Collingwood
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development