Uploaded image for project: 'Maven Plugin Tools'
  1. Maven Plugin Tools
  2. MPLUGIN-64

Beanshell extractor does not handle parameter default value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3
    • 2.4
    • None
    • Patch

    Description

      In a parameter specification like
      /**

      • The message to write.
      • @parameter type="java.lang.String" expression="${helloMessage}" default-value="Hello World!"
        */
        setMessage(msg) {
        message = msg;
        }

      the default value is ignored.

      The attached patch fixes this.

      Attachments

        1. default-value.patch
          1 kB
          Heinrich Nirschl

        Activity

          People

            siveton Siveton Vincent
            nirschl Heinrich Nirschl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: