jira.codehaus.org

  • Log In Access more options
    • Online Help
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What?s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • QDox
  • QDOX-127

getInitializationExpression() includes comment text

  • Log In
  • Views
    • XML
    • Word
    • Printable

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

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

  • All
  • Comments
  • Work Log
  • History
  • Activity
Hide
Permalink
Robert Scholte added a comment - 16/Feb/09 2:19 PM

test + fix committed

Show
Robert Scholte added a comment - 16/Feb/09 2:19 PM test + fix committed

People

  • Assignee:
    Robert Scholte
    Reporter:
    Richard Craddock
Vote (0)
Watch (0)

Dates

  • Created:
    17/Jul/07 7:59 AM
    Updated:
    16/Feb/09 2:19 PM
    Resolved:
    16/Feb/09 2:19 PM
  • Atlassian JIRA (v5.0.4#731-sha1:3aa7374)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Codehaus. Try JIRA - bug tracking software for your team.