You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2020/12/28 15:40:08 UTC

[GitHub] [maven] mkarg commented on a change in pull request #421: Artifact.getPath() and .setPath()

mkarg commented on a change in pull request #421:
URL: https://github.com/apache/maven/pull/421#discussion_r549391327



##########
File path: maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
##########
@@ -86,6 +87,16 @@
 
     void setFile( File destination );
 
+    default Path getPath()
+    {
+        return this.getFile().toPath();

Review comment:
       Good catch! Just fixed it using force-push. If you prefer, I can replace by `Optional`.




----------------------------------------------------------------
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:
users@infra.apache.org