diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CurrentPhaseForThread.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CurrentPhaseForThread.java index 8bb59a4ba2..272e4b00ed 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CurrentPhaseForThread.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/CurrentPhaseForThread.java @@ -22,11 +22,11 @@ package org.apache.maven.lifecycle.internal; /** * Knows the phase the current thread is executing. *

- * There may be better ways of doing this once the dust settles. + * This class is used in weave-mode only , there may be better ways of doing this once the dust settles. * * @author Kristian Rosenvold */ -public class CurrentPhaseForThread +class CurrentPhaseForThread { private static final InheritableThreadLocal threadPhase = new InheritableThreadLocal(); diff --git a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ThreadLockedArtifact.java b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ThreadLockedArtifact.java index fd1b18155b..4f0d02149c 100644 --- a/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ThreadLockedArtifact.java +++ b/maven-core/src/main/java/org/apache/maven/lifecycle/internal/ThreadLockedArtifact.java @@ -34,7 +34,7 @@ import java.util.List; import java.util.concurrent.CountDownLatch; /** - * An artifact that suspends on getFile for anything but the thread it is locked to. + * An artifact that conditionally suspends on getFile for anything but the thread it is locked to. */ class ThreadLockedArtifact implements Artifact