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/06/21 19:04:29 UTC

[GitHub] [maven] kwin commented on a change in pull request #363: [MNG-5760] --resume feature (part 2)

kwin commented on a change in pull request #363:
URL: https://github.com/apache/maven/pull/363#discussion_r443247628



##########
File path: maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
##########
@@ -105,7 +109,7 @@ public void removeResumptionData( MavenProject rootProject )
     private Properties loadResumptionFile( Path rootBuildDirectory )
     {
         Properties properties = new Properties();
-        Path path = Paths.get( RESUME_PROPERTIES_FILENAME ).resolve( rootBuildDirectory );
+        Path path = rootBuildDirectory.resolve( Paths.get( RESUME_PROPERTIES_FILENAME ) );

Review comment:
       You can use `Path.resolve(String)` instead of first explicitly converting the argument to Path.




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