Honza-cz commented on PR #6549:
URL: https://github.com/apache/netbeans/pull/6549#issuecomment-1757653623

   Sorry, I just realized, it doesn't cover one use case, when variable is get 
from method declaration. I tested it with local variables.
   
   `Function<String, String> named(String name){
       Function<String, String> formatter=t->t+" "+name;
       return formatter;
   }`
   
   If I extract that function, extracted method doesnt declare "name" param:
   
   `private Function<String, String> extracted() {
       return t->t+" "+name;
   }`
   
   It should be ... "extracted(String name)"
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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