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 92325 - JavaDoc for constructor from class template is added to field
Summary: JavaDoc for constructor from class template is added to field
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Source (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Pavel Flaska
URL:
Keywords:
Depends on:
Blocks: 90607
  Show dependency tree
 
Reported: 2007-01-11 13:46 UTC by Erno Mononen
Modified: 2007-04-19 15:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
patch for GenerationUtilsTest (1.87 KB, text/plain)
2007-01-11 13:53 UTC, Erno Mononen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Erno Mononen 2007-01-11 13:46:19 UTC
When you create a class and add a field to it, the javadoc for the constructor 
from the class template gets added to the field as well. The generated class 
looks like the following:

class MyClass {
/** constructor javadoc from template */
String myField;
/** constructor javadoc from template */
MyClass(){}
...
}

Attached is a patch for o.n.m.j2ee.common.source.GenerationUtilsTest that 
demonstrates the problem.
Comment 1 Erno Mononen 2007-01-11 13:53:44 UTC
Created attachment 37272 [details]
patch for GenerationUtilsTest
Comment 2 Erno Mononen 2007-04-19 15:39:30 UTC
This seems to be fixed, at least it is not reproducible for me anymore. So I'm 
closing this.