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

Calling method of object with String parameter

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.7
    • 2.7
    • None
    • None

    Description

      Assuming the 2 small classes of OGNL-54 (One.java and Two.java)

      and adding the same method to both:

      public boolean hasChildren(String name)

      { return name.length() > 2; }

      hasChildren('aaa') WORKS

      hasChildren('aa') WORKS

      hasChildren('a') WORKS

      two.hasChildren('aaa') WORKS

      two.hasChildren('aa') WORKS

      two.hasChildren('a') FAILS

      Attachments

        Activity

          People

            jkuhnert Jesse Kuhnert
            andyhot Andreas Andreou
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: