cstamas commented on code in PR #213:
URL: https://github.com/apache/maven-resolver/pull/213#discussion_r1015202072


##########
maven-resolver-connector-basic/src/main/java/org/eclipse/aether/connector/basic/BasicRepositoryConnector.java:
##########
@@ -287,9 +269,10 @@ public void get( Collection<? extends ArtifactDownload> 
artifactDownloads,
                 task = new GetTaskRunner( location, transfer.getFile(), 
checksumPolicy,
                         checksumAlgorithmFactories, checksumLocations, 
providedChecksums, listener );
             }
-            executor.execute( errorForwarder.wrap( task ) );
+            runnable.add( errorForwarder.wrap( task ) );
         }
 
+        resolverExecutor.submitOrDirect( runnable );

Review Comment:
   What is the difference? It's not this line that wait but next, the unchanged 
one.



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

Reply via email to