QDox
  1. QDox
  2. QDOX-127

getInitializationExpression() includes comment text

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.9
    • Component/s: Java API
    • Labels:
      None
    • Environment:
      Windows XP
    • Number of attachments :
      0

      Description

      I have a file which contains :

      // Attributes

      /**

      • Some decription
      • */
        private String uDI = null;

      In my program (using Qdox 1.6.3) I'm calling:

      System.out.println("START");
      System.out.println(left.getInitializationExpression());
      System.out.println("END");

      And I get :

      START

      // Attributes

      null
      END

      (Including all the blank lines). I was expecting to just get the "null".

        Activity

        Hide
        Robert Scholte added a comment -

        test + fix committed

        Show
        Robert Scholte added a comment - test + fix committed
        Robert Scholte made changes -
        Field Original Value New Value
        Fix Version/s 1.9 [ 14956 ]
        Assignee Robert Scholte [ rfscholte ]
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Robert Scholte
            Reporter:
            Richard Craddock
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: