You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Manikantan Narender Nath (JIRA)" <ji...@apache.org> on 2018/04/18 04:26:00 UTC

[jira] [Created] (NETBEANS-689) Undo after redo of Change Method params from Calling class has no effect.

Manikantan Narender Nath created NETBEANS-689:
-------------------------------------------------

             Summary: Undo after redo of Change Method params from Calling class has no effect.
                 Key: NETBEANS-689
                 URL: https://issues.apache.org/jira/browse/NETBEANS-689
             Project: NetBeans
          Issue Type: Bug
          Components: java - Refactoring
    Affects Versions: 9.0
            Reporter: Manikantan Narender Nath


Test Spec: [http://netbeans-vm.apache.org/synergy/client/app/#/specification/351]

Test Suite: [http://netbeans-vm.apache.org/synergy/client/app/#/suite/2029/v/1]

Test Case: [http://netbeans-vm.apache.org/synergy/client/app/#/case/5147/suite/2029/v/1]

 

Environment
*Product Version:* Apache NetBeans IDE Dev (Build incubator-netbeans-linux-408-on-20180417)

*Java:* 10; Java HotSpot(TM) 64-Bit Server VM 10+46

*Runtime:* Java(TM) SE Runtime Environment 10+46

*System:* Mac OS X version 10.12.6 running on x86_64; UTF-8; en_IN (nb)

 

Steps to reproduce
 # OPen project Java Refactoring
 # Open {{inline.ClassA.java}} class
 # Put caret into {{from.m|1(true, 5)}} where "|" is a position of caret
 # From main menu select Refactor > Change Method Parameters...
 # Delete parameter {{times}}
 # Change parameter name {{type}} to {{newType}}
 # Select {{str}} parameter and by clicking on "Move up" move it to the top of list
 # Press "Preview", inspect all changes and then press "Do Refactoring"
 # Press Undo - Redo - Undo

 
Expected result on Step 9
Undo - Refactoring is undone
Redo - Refactoring is redone
Undo - Refactoring is undone
 
Actual result on Step 9
Undo - Refactoring is undone
Redo - Refactoring is redone
Undo - Refactoring is NOT undone
 
 
 



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
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