chhh edited a comment on pull request #2063: URL: https://github.com/apache/netbeans/pull/2063#issuecomment-653124093
If you rename the method to `maybe()`, then it at least becomes shorter than Jaroslav's suggestion of `Optional.of()` ---------------------------------------------------------------- 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. 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
