[ https://issues.apache.org/jira/browse/GROOVY-10942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17690845#comment-17690845 ]
ASF GitHub Bot commented on GROOVY-10942: ----------------------------------------- Goooler commented on PR #1859: URL: https://github.com/apache/groovy/pull/1859#issuecomment-1435915780 GROOVY-10942 1. Agreed. 2. I misjudged `Path.getFileName()` to return a non-null String, will fix it later. 3. Will add a `getBaseName()`. > Add `extension` & `nameWithoutExtension` extension methods > ---------------------------------------------------------- > > Key: GROOVY-10942 > URL: https://issues.apache.org/jira/browse/GROOVY-10942 > Project: Groovy > Issue Type: New Feature > Reporter: Zongle Wang > Priority: Major > > Ref: > https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io.path/java.nio.file.-path/extension.html > https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.io.path/java.nio.file.-path/name-without-extension.html -- This message was sent by Atlassian Jira (v8.20.10#820010)