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 6848 - Copy|Paste on constructors should cause it's renaming.
Summary: Copy|Paste on constructors should cause it's renaming.
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: All All
: P2 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-06-19 11:14 UTC by Jan Becicka
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 Jan Becicka 2000-06-19 11:14:34 UTC
If constructor is pasted into some target class, it's name didn't change to come
up to this target class.
Comment 1 Jan Becicka 2000-06-19 11:19:59 UTC
E.g.
class Source {
public Source(){}
}
class Target {
public Source(){} // pasted constructor should be Target not Source
}
Comment 2 Svata Dedic 2000-06-20 14:45:59 UTC
Corrected for API call someClass.addConstructor(aConstructorOfAnotherClass) too.
Comment 3 Quality Engineering 2003-07-01 13:18:47 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.