From f19befcf703781a9104a1068b20b79e162cbae70 Mon Sep 17 00:00:00 2001 From: Kristian Rosenvold Date: Sat, 24 Jul 2010 07:29:15 +0000 Subject: [PATCH] o Reduced access level of class, updated some docs git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@978818 13f79535-47bb-0310-9956-ffa450edef68 --- .../maven/lifecycle/internal/CurrentPhaseForThread.java | 4 ++-- .../apache/maven/lifecycle/internal/ThreadLockedArtifact.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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