garydgregory commented on a change in pull request #628:
URL: https://github.com/apache/maven/pull/628#discussion_r767729923



##########
File path: 
maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java
##########
@@ -119,6 +119,18 @@ public void testResolveDependencies()
         assertEquals( 1, results.size() );
         MavenProject mavenProject = results.get( 0 ).getProject();
         assertEquals( 1, mavenProject.getArtifacts().size() );
+
+        final MavenProject project = mavenProject;
+        final int[] getArtifactsResultInAnotherThead = { 0 };

Review comment:
       Youi'll likely want to use an AtomicInteger here instead of this classic 
hack (in the good sense of the word hack of course)




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