QDox
  1. QDox
  2. QDOX-209

Annotation Value polluted with preceding comments.

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.12
    • Fix Version/s: 1.12
    • Component/s: Parser
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      2

      Description

      It seems similar to http://jira.codehaus.org/browse/QDOX-117 .
      But I do not get the contents of the static block in the value of the annotation, but some normal line-comments.

      See attached testcase with Source "Instruction.java".

      It seems to be very specific to this test case, for example without the line
      private static final int something = 40;
      it works fine.

      1. Instruction.java
        0.2 kB
        Stefan Ackermann
      2. QDoxFailure.java
        1 kB
        Stefan Ackermann

        Activity

        Hide
        Robert Scholte added a comment -

        Fixed in rev. 728. Thanks Stefan!

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

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Stefan Ackermann
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: