You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Jakub Herkel (Jira)" <ji...@apache.org> on 2020/12/28 09:05:00 UTC
[jira] [Assigned] (NETBEANS-4274) Refactoring of class member names
in Java
[ https://issues.apache.org/jira/browse/NETBEANS-4274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jakub Herkel reassigned NETBEANS-4274:
--------------------------------------
Assignee: Jakub Herkel
> Refactoring of class member names in Java
> -----------------------------------------
>
> Key: NETBEANS-4274
> URL: https://issues.apache.org/jira/browse/NETBEANS-4274
> Project: NetBeans
> Issue Type: Bug
> Components: java - Refactoring
> Affects Versions: 8.2, 11.0, 12.0, 12.1, 12.2
> Reporter: Petr Miksik
> Assignee: Jakub Herkel
> Priority: Major
>
> Class member name refactoring does not work under this specific condition:
> {code}
> class X {
> int i;
> }
> X x = new X();
> String newName = Integer.toString(x.i);
> {code}
> If you try to refactor name of the member _x.i_ to the name of the variable on the left side (called _newName_), you get the following result:
> {code}
> String newName = Integer.toString(x.X.this.newName);
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists