mirror of https://github.com/apache/maven.git
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
This commit is contained in:
parent
a49f986e86
commit
f19befcf70
|
@ -22,11 +22,11 @@ package org.apache.maven.lifecycle.internal;
|
||||||
/**
|
/**
|
||||||
* Knows the phase the current thread is executing.
|
* Knows the phase the current thread is executing.
|
||||||
* <p/>
|
* <p/>
|
||||||
* 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
|
* @author Kristian Rosenvold
|
||||||
*/
|
*/
|
||||||
public class CurrentPhaseForThread
|
class CurrentPhaseForThread
|
||||||
{
|
{
|
||||||
private static final InheritableThreadLocal<String> threadPhase = new InheritableThreadLocal<String>();
|
private static final InheritableThreadLocal<String> threadPhase = new InheritableThreadLocal<String>();
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,7 @@ import java.util.List;
|
||||||
import java.util.concurrent.CountDownLatch;
|
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
|
class ThreadLockedArtifact
|
||||||
implements Artifact
|
implements Artifact
|
||||||
|
|
Loading…
Reference in New Issue