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 107430 - Code generation insert existing operations to the Java project
Summary: Code generation insert existing operations to the Java project
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Viktor Lapitski
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-06-20 14:03 UTC by Alexandr Scherbatiy
Modified: 2007-09-13 19:05 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
SimpleGraphEditor java project (22.76 KB, application/octet-stream)
2007-06-20 14:04 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2007-06-20 14:03:23 UTC
Steps to reproduce:
- Reverse the attached SimpleGraphEditor java project
- Generate code to the  SimpleGraphEditor java project
- Compile the java project
   Here are some errors:
  SimpleGraphEditor\src\diagram\Diagram.java:224:
    addDiagramElement(java.awt.geom.Point2D,diagram.element.DiagramElementType) is already defined in diagram.Diagram
    public void addDiagramElement (Point2D point, DiagramElementType diagramElementType) {
  SimpleGraphEditor\src\diagram\Diagram.java:230: 
   move(java.awt.geom.Point2D,java.util.List<diagram.element.DiagramElement>) is already defined in diagram.Diagram
    public void move (Point2D shift, List<DiagramElement> list) {
Comment 1 Alexandr Scherbatiy 2007-06-20 14:04:11 UTC
Created attachment 44057 [details]
SimpleGraphEditor java project
Comment 2 Viktor Lapitski 2007-06-27 02:52:02 UTC
fixed.
Comment 3 Sherry Zhou 2007-09-13 19:05:15 UTC
Verified in trunk build 070913. No more compilation error