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

Michael Bien closed NETBEANS-4304.
----------------------------------
    Fix Version/s: 28
       Resolution: Fixed

closed via https://github.com/apache/netbeans/pull/8713

> Incorrect return type on "Refactor->Create Method" inside lambda
> ----------------------------------------------------------------
>
>                 Key: NETBEANS-4304
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-4304
>             Project: NetBeans
>          Issue Type: Bug
>          Components: java - Refactoring
>    Affects Versions: 11.2, 11.3
>            Reporter: Austin Stephens
>            Priority: Major
>              Labels: Method, Refactoring
>             Fix For: 28
>
>
> Using the following source code:
> {code:java}
> public class BugKiller {
>       public static void kill(){
>               Function<String, List<Integer>> logic;
>               logic = item->doThingWithString(item, 5, true);
>       }
> }
> {code}
> Invoking "Create Method" on `doThingWithString` will create a method with the 
> return type of "Function<String, List<Integer>>" instead of "List<Integer>"



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to