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 192784 - "refactor - change method parameters" not allowed in parameterlist
Summary: "refactor - change method parameters" not allowed in parameterlist
Status: VERIFIED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-02 10:25 UTC by mithridates
Modified: 2011-01-12 11:26 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 mithridates 2010-12-02 10:25:28 UTC
[ BUILD # : 201012020001 ]
[ JDK VERSION : 1.6.22 ]

Using "change method parameters" isn't working when cursor is in parameter list
of method (which should work an did in 6.9.1 as I remember).

Message "cannot refactor this object" is shown when cursor is at positions (1) 
and 
IllegalArgumentException is thrown when cursor is at positions (2):

public void setValue((1)boo(1)lean (2)madeA(2)nyChange)

Both positions should be legal entrypoints for changing method-parameters not
only the method-name itself.
Comment 1 Jan Becicka 2010-12-02 14:50:42 UTC
Changeset: http://hg.netbeans.org/jet-main/rev/18efe0b3b474
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2010-12-02 15:47
Message:   Issue #192784 - "refactor - change method parameters" not allowed in parameterlist
Comment 2 Quality Engineering 2010-12-03 06:21:47 UTC
Integrated into 'main-golden', will be available in build *201012030001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/18efe0b3b474
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #192784 - "refactor - change method parameters" not allowed in parameterlist
Comment 3 mithridates 2011-01-12 11:26:04 UTC
Build 201101100000