elharo commented on a change in pull request #35:
URL: https://github.com/apache/maven-shared-utils/pull/35#discussion_r431111984



##########
File path: src/main/java/org/apache/maven/shared/utils/io/FileUtils.java
##########
@@ -161,47 +161,52 @@ protected FileUtils()
      * Returns the directory path portion of a file specification string.
      * Matches the equally named unix command.
      *
-     * @param filename the file path
+     * @param path the file path
      * @return the directory portion excluding the ending file separator
+     * @deprecated use {@code Paths.get(path).getParent().getName()}

Review comment:
       It should. 




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


Reply via email to