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 5116 - "Doubled name" in class(interface) declaration row.
Summary: "Doubled name" in class(interface) declaration row.
Status: CLOSED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: All All
: P2 normal (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1999-12-30 18:54 UTC by Peter Zavadsky
Modified: 2003-07-02 16:02 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 Peter Zavadsky 1999-12-30 18:54:05 UTC
{JDK 1.3-R}

When you create a class (interface) from Template you get let say "Doubled Name" in class (interface) declaration row.

Examples:
 1) Instead :    class MyApplet extends java.applet.Applet {
     You get:    class MyApplet extends java.applet.AppletApplet {


 2) Instead :    interface MyInterface {
     You get:    interface MyInterfaceMyInterface {

 3) Instead:    class MyBean extends Object implements java.io.Serializable {
    You get:    class MyBean extends Object implements java.io.SerializableSerializable {

The "doubled name" appears only once  in a row. It appears in all Templates creating a class or interface except creating Bean-Info and Servlet class.

!!! See revision comment in Comment tab for additional info.

[PeSlg]
The same problem after renaming class.

Note: when have this declaration:
class C extends B implements I {
....

then only identifier I is doubled.

[phamernik]
problem was found in editor - IndentFormat for java.
Comment 1 Quality Engineering 2003-07-02 16:02:36 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.