QDox
  1. QDox
  2. QDOX-206

Array declarations in generics have missing brackets in toGenericString()

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.11
    • Fix Version/s: 1.12
    • Component/s: Java API
    • Labels:
      None
    • Number of attachments :
      0

      Description

      Array declarations in generics have the brackets removed.

      For example, parsing this:

      public Map<String[], Object[]> test(Map<String[], Object[]> input)

      { ... }

      Returns this:

      public java.util.Map<java.lang.String, java.lang.Object> test(java.util.Map<java.lang.String, java.lang.Object> input);

      When using JavaMethod.getReturns().toGenericString() & JavaParameter.getType().toGenericString()

        Activity

        Hide
        Robert Scholte added a comment -

        Fixed in rev.724 . Thanks for reporting!

        Show
        Robert Scholte added a comment - Fixed in rev.724 . Thanks for reporting!
        Robert Scholte made changes -
        Field Original Value New Value
        Fix Version/s 1.12 [ 16282 ]
        Status Open [ 1 ] Closed [ 6 ]
        Assignee Robert Scholte [ rfscholte ]
        Resolution Fixed [ 1 ]
        Hide
        Harry Mark added a comment -

        Thanks! When will 1.12 be released? The snapshot link @ http://qdox.codehaus.org/download.html doesn't work

        Show
        Harry Mark added a comment - Thanks! When will 1.12 be released? The snapshot link @ http://qdox.codehaus.org/download.html doesn't work
        Hide
        Robert Scholte added a comment -

        A snapshot has been deployed. It was the first one, that's why the link didn't work. We've just released 1.11 (march 13th) and right now we've fixed 2 issues. I donŽt want to release for every bugfix, so I don't expect a new release soon (in days or weeks) unless there a real good reason to do so.
        Subscribe to the announcementlist and youŽll be the first to know.

        Show
        Robert Scholte added a comment - A snapshot has been deployed. It was the first one, that's why the link didn't work. We've just released 1.11 (march 13th) and right now we've fixed 2 issues. I donŽt want to release for every bugfix, so I don't expect a new release soon (in days or weeks) unless there a real good reason to do so. Subscribe to the announcementlist and youŽll be the first to know.

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Harry Mark
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: