mbien opened a new pull request, #4864:
URL: https://github.com/apache/netbeans/pull/4864

   The compiler can't decide if this is an `ExceptionAction` or a `Runnable` 
and marks the line as an error in-editor. Interestingly, the module builds fine.
   
   We can help the compiler by casting to Runnable or by using a lambda 
expression. Cast is more compact.
   
   
   
![ambiguous](https://user-images.githubusercontent.com/114367/198063533-e8e6fc54-07a9-4e95-bb46-709c3fad5eaa.png)
   


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