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 203242 - [71cat] addittional refactoring: change type
Summary: [71cat] addittional refactoring: change type
Status: RESOLVED DUPLICATE of bug 192580
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-06 14:28 UTC by muellermi
Modified: 2011-11-16 16:40 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2011-10-06 14:28:08 UTC
Product Version = NetBeans IDE Dev (Build 201110040601)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0
Runtime = Java HotSpot(TM) Client VM 21.0-b17

given:
    private Integer _size;

    public Integer getSize() {
        return _size;
    }

    public void setSize(Integer size) {
        _size = size;
    }

- User places caret onto declaration of _size and calls Refactoring, change parameter
- Refactoring queries new type by offering an overwritable list of "compatible" types
- User picks or enters new type, e.G. "Long"
--> System replaces the type for all occurencies (declaration, getter, setter and all usages)
Comment 1 Ralph Ruijs 2011-10-20 08:27:55 UTC

*** This bug has been marked as a duplicate of bug 192580 ***