rootvector2 commented on code in PR #775:
URL: https://github.com/apache/commons-vfs/pull/775#discussion_r3702315624
##########
commons-vfs2/src/main/java/org/apache/commons/vfs2/impl/DefaultFileReplicator.java:
##########
@@ -125,7 +126,7 @@ public void close() {
* @throws FileSystemException if a file system error occurs.
*/
protected File createAndAddFile(final File parent, final String baseName)
throws FileSystemException {
- final File file = createFile(tempDir, baseName);
+ final File file = createFile(getTempDir(), baseName);
Review Comment:
good catch, `createAndAddFile` now uses `parent` as passed in and the
javadoc no longer claims it is ignored. `allocateFile` already supplies the
temp dir, so behavior is unchanged.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]