mkarg commented on a change in pull request #421:
URL: https://github.com/apache/maven/pull/421#discussion_r558841421
##########
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 do not understand the question (or why you are asking it). Actually
that above code *is* effectively overriding the default implementation of the
interface, and it was explicitly done because @rmannibucau asked for this.
----------------------------------------------------------------
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]