RFR: 8298318: (fs) APIs for handling filename extensions

Brian Burkhalter bpb at openjdk.org
Tue Nov 21 00:08:06 UTC 2023


On Fri, 3 Nov 2023 19:28:24 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

> String s = name.substring(0, indexOfExt);

I assume that `indexOfExt` is a typo which should be simply `index`.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/16226#issuecomment-1820003358


More information about the nio-dev mailing list