Austin Stephens created NETBEANS-4304: -----------------------------------------
Summary: 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 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.3.4#803005) --------------------------------------------------------------------- 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