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



##########
File path: 
maven-artifact/src/main/java/org/apache/maven/artifact/DefaultArtifact.java
##########
@@ -207,6 +208,16 @@ public File getFile()
         return file;
     }
 
+    public Path getPath()
+    {
+        return this.getFile() == null ? null : this.getFile().toPath();
+    }
+
+    public void setPath( Path path )
+    {
+        this.setFile ( path == null ? null : path.toFile() );
+    }
+

Review comment:
       I asking because body of method in default method in interface is the 
same as overridden one.
   So maybe body in interface is redundant for first look, and I ask.
   Ok, I have read previous comments - I didn't know about proxy problems.




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


Reply via email to