Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-937

Add support for VarArgs in MethodArgumentsUberspector

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.4.2
    • Fix Version/s: 8.1-milestone-1, 7.4.3
    • Component/s: Velocity
    • Labels:
      None
    • Tests:
      Unit
    • Similar issues:

      Description

      An example with the following method

      public boolean isRegularFile(Path path, LinkOption... options)

      If you call this method from Velocity with

      #set ($somestring = "path/to/a/file")
      $niotool.isRegularFile($somestring)
      

      Velocity never call the method.

        Attachments

          Activity

            People

            • Assignee:
              vmassol Vincent Massol
              Reporter:
              jsimard Jean SIMARD
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: