From 4ff27db4f9111fbd4268d66b8f18dd44b61df0ee Mon Sep 17 00:00:00 2001 From: Guillaume Nodet Date: Fri, 17 Dec 2021 08:57:42 +0100 Subject: [PATCH] [MNG-7156][MNG-7285] Fix typo in test --- .../java/org/apache/maven/project/ProjectBuilderTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java b/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java index 40ba60dadf..aae5f24baa 100644 --- a/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java +++ b/maven-core/src/test/java/org/apache/maven/project/ProjectBuilderTest.java @@ -122,16 +122,16 @@ public class ProjectBuilderTest assertEquals( 1, mavenProject.getArtifacts().size() ); final MavenProject project = mavenProject; - final AtomicInteger artifactsResultInAnotherThead = new AtomicInteger(); + final AtomicInteger artifactsResultInAnotherThread = new AtomicInteger(); Thread t = new Thread(new Runnable() { @Override public void run() { - artifactsResultInAnotherThead.set(project.getArtifacts().size()); + artifactsResultInAnotherThread.set(project.getArtifacts().size()); } }); t.start(); t.join(); - assertEquals( project.getArtifacts().size(), artifactsResultInAnotherThead.get() ); + assertEquals( project.getArtifacts().size(), artifactsResultInAnotherThread.get() ); } public void testDontResolveDependencies()