[ 
https://issues.apache.org/jira/browse/NETBEANS-1043?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ARUNAVA SINHA resolved NETBEANS-1043.
-------------------------------------
    Resolution: Fixed

Fix merged to Apache:master through below PR

https://github.com/apache/incubator-netbeans/pull/653

> Refactor -> Move method does not update method::references
> ----------------------------------------------------------
>
>                 Key: NETBEANS-1043
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1043
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Refactoring
>    Affects Versions: 9.0
>            Reporter: Austin Stephens
>            Assignee: ARUNAVA SINHA
>            Priority: Major
>              Labels: pull-request-available
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> Given the following code (was done inside a class for simplicity):
> {code:java}
>     public static class Baz{
>         public static void doStuff(BooleanSupplier source){
>             boolean val = source.getAsBoolean();
>         }
>         public static void prepareStuff(){
>             doStuff(Bar::moveThis);
>         }
>     }
>     public static class Bar {
>         public static boolean moveThis(){
>             return true;
>         }
>     }
>     public static class Foo{
>         
>     }
> {code}
> If you Refactor Move `moveThis` from `Bar` to `Foo`, the reference in 
> Baz.prepareStuff() does not get updated.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to