You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/12/23 02:53:25 UTC

[GitHub] [flink] zhijiangW commented on a change in pull request #10570: [FLINK-15248][FileSystems] Fix the bug in FileUtils#compressDirectory when processing relative directory path.

zhijiangW commented on a change in pull request #10570: [FLINK-15248][FileSystems] Fix the bug in FileUtils#compressDirectory when processing relative directory path.
URL: https://github.com/apache/flink/pull/10570#discussion_r360752214
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/util/FileUtils.java
 ##########
 @@ -576,6 +577,21 @@ public static Path expandDirectory(Path file, Path targetDirectory) throws IOExc
 		return filterFileVisitor.getFiles();
 	}
 
+	/**
+	 * Absolutize the given path if it is relative.
+	 *
+	 * @param pathToAbsolutize path which is being absolutized if it is an relative path
 
 Review comment:
   nit: an -> a

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


With regards,
Apache Git Services