RFR: 8057113: (fs) Path should have a method to obtain the filename extension [v7]
Brian Burkhalter
bpb at openjdk.java.net
Tue May 3 16:31:12 UTC 2022
On Tue, 3 May 2022 14:29:43 GMT, Roger Riggs <rriggs at openjdk.org> wrote:
> Maybe keep around the Optional holding the extension to return if it is empty or matches; saving creating a new one.
I don't understand this comment. I think that this could be done in the implementation classes but I do not see how to do it here.
-------------
PR: https://git.openjdk.java.net/jdk/pull/8066
More information about the nio-dev
mailing list