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.
Methods and constructors are pasted with their implementations. [Svata] Methods are OK as long as they`re only declared in the source ;-) [Honza] It would be nice, if pasting method from class into interface inserts only declaration with semicolon and pasting from interface into class inserts declaration with empty braces {}.
The meaning of Paste action invoked on an interface is clear when the source elements are copied into the interface. But if they are Cut from the source location and only declaration is copied into the target (interface), unintentional data loss can occur.
Priority is changed to P4 (normal).
Fixed by mailto:Ivan.Bradac@netbeans.com: IDE asks for confirmation if method with a body is Cut/Pasted into an interface since the method's body can't be pasted. Fixed for dev-17, waiting for approval for Boston.
Resolved for 3.4.x or earlier, no new info since then -> closing.