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 83202

Summary: Setting direction ('Out') for Return value ('Parameter') break operation
Product: uml Reporter: bugbridge <bugbridge>
Component: Diagram ClassAssignee: issues@uml <issues>
Status: NEW ---    
Severity: blocker CC: sj-nb
Priority: P2    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: ENHANCEMENT Exception Reporter:

Description bugbridge 2006-08-22 15:26:03 UTC
Original submitter: sergeyp

steps to reproduce:
1. create package with scoped clas diagram
2. add class to the diagram
3. add operation 'public int ggg()' to the class
4. select 'Parameters' node within operation's node
5. select 'Out' direction in properties
return type goes to parameters on diagram and in source
source is broken
Comment 1 Peter Lam 2007-01-19 08:20:50 UTC
There's no live round-trip feature but the following manually generated code has
incorrect operation parameter declaration.

package pack1;

public class c1 {
    public c1() {
    }

    public int ggg(int ) {
        return 0;
    }
}