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 178645

Summary: Unable to refactor a varibale from a function call
Product: javafx Reporter: Alexandr Scherbatiy <sunflower>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED    
Severity: normal    
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 173077    

Description Alexandr Scherbatiy 2009-12-15 03:51:21 UTC
NetBeans-JavaFX-Soma:  #66

  Product Version         = NetBeans IDE 6.8 RC1 (Build 200911252200) (#3c4d4f8d3d55)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.

Steps to reproduce:

- Copy the code to the editor:
---------------------------------------------
var num;
var str = "4";

num = Number.parseFloat(str);
---------------------------------------------

- Select the 'str' variable in the last line 'num = Number.parseFloat(str);'
 and Refactor->Rename it to 'str2' 

 The variable is not renamed.
Comment 1 J Bachorik 2010-01-04 08:16:22 UTC
This works in javafx-main-144-main-on-091222
Comment 2 Alexandr Scherbatiy 2010-01-14 03:32:17 UTC
verified in NetBeans-JavaFX-Soma:  #104