You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/11/11 19:16:00 UTC
[jira] [Commented] (MRESOLVER-290) Improve file handling resolver wide
[ https://issues.apache.org/jira/browse/MRESOLVER-290?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17632533#comment-17632533 ]
ASF GitHub Bot commented on MRESOLVER-290:
------------------------------------------
michael-o commented on code in PR #218:
URL: https://github.com/apache/maven-resolver/pull/218#discussion_r1020498494
##########
maven-resolver-util/src/main/java/org/eclipse/aether/util/FileUtils.java:
##########
@@ -44,9 +44,23 @@ private FileUtils()
*/
public interface TempFile extends Closeable
{
+ /**
+ * Returns the path of the created temp file.
+ */
Path getPath();
}
+ /**
+ * A collocated temporary file, that resides next to a "target" file, and is removed when closed.
Review Comment:
colocated and not collocated?!
> Improve file handling resolver wide
> -----------------------------------
>
> Key: MRESOLVER-290
> URL: https://issues.apache.org/jira/browse/MRESOLVER-290
> Project: Maven Resolver
> Issue Type: Task
> Components: Resolver
> Reporter: Tamas Cservenak
> Assignee: Tamas Cservenak
> Priority: Major
> Fix For: 1.9.1
>
>
> Use new atomic primitives (utils) to make sure files are fully written.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)