lkishalmi commented on PR #4654:
URL: https://github.com/apache/netbeans/pull/4654#issuecomment-1381281078

   > I always dreamed about 1:1 mapping between Path and FileObject. They could 
delegate to each other. Always. E.g. the new methods shall never return null.
   
   Well, this PR won't make that dream true. Probably one day when someone 
would have a lot of time. AFAIK we need to provide a few FileSystem 
implementation to be able to use `Path` in all cases which are covered by 
`FileObject`.
   
   As of returning `null` is in sync with the current implementation. Returning 
`Optional` would be an outlier in the API. 


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