cstamas commented on code in PR #1902:
URL: https://github.com/apache/maven-resolver/pull/1902#discussion_r3373120390
##########
maven-resolver-api/src/main/java/org/eclipse/aether/transfer/TransferResource.java:
##########
@@ -46,9 +46,9 @@ public final class TransferResource {
private final RequestTrace trace;
- private long contentLength = -1L;
+ private volatile long contentLength = -1L;
Review Comment:
why?
--
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]