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 164546 - class diagram code gen blows away the code
Summary: class diagram code gen blows away the code
Status: NEW
Alias: None
Product: uml
Classification: Unclassified
Component: Code Generation (show other bugs)
Version: 6.x
Hardware: All Windows XP
: P3 blocker (vote)
Assignee: issues@uml
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-06 02:08 UTC by shche123
Modified: 2009-05-06 02:08 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 shche123 2009-05-06 02:08:13 UTC
change the parameter name from val to interestRate

old code:


    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.C5705525-24C9-1AC6-83F7-0CF565EC43F8]
    // </editor-fold> 
    public double getInterestRate() {
        return interestRate;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.0A0F2EC1-9D64-4C8C-067E-BBFBAF4C7EBF]
    // </editor-fold> 
    public void setInterestRate(double val) {
        this.interestRate = val;
    }
}

new code:

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.C5705525-24C9-1AC6-83F7-0CF565EC43F8]
    // </editor-fold> 
    public double getInterestRate () {
        return 0.0;
    }

    // <editor-fold defaultstate="collapsed" desc=" UML Marker "> 
    // #[regen=yes,regenBody=yes,id=DCE.0A0F2EC1-9D64-4C8C-067E-BBFBAF4C7EBF]
    // </editor-fold> 
    public void setInterestRate (double interestRate) {
    }
}