This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 56943 - setJavaDoc/setJavaDocText inserts blank lines
Summary: setJavaDoc/setJavaDocText inserts blank lines
Status: VERIFIED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-03-24 15:52 UTC by Ondrej Rypacek
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ondrej Rypacek 2005-03-24 15:52:55 UTC
When calling

  method.setJavaDocText("some text")

than the resulting code in Windows is (note the blank lines

/**

 * some text
 
 */
....

It works fine in linux, though. The same error occurs if a JavaDoc object is
first constructed from the text and then set using Method.setJavadoc. 

However, the problem doesn't occur if the javadoc is specified directly in the
constructor (factory method) of Method.
Comment 1 Jan Becicka 2005-03-29 11:49:35 UTC
I'm sorry, I cannot reproduce it. It works in the IDE (autocomment tool) and
even in javacore unit tests.
Please attach some test code showing, that setJavaDocText() does not work correctly.
Comment 2 Ondrej Rypacek 2005-03-29 12:28:21 UTC
I tried to reproduce it with the version that used to not work and it works now.
So probably the bug got fixed in the meantime with some other fix. 
Comment 3 Quality Engineering 2007-09-20 12:07:46 UTC
Reorganization of java component