[MNG-4996] Made scope and version volatile on artifact

Resisted the urge to make *everything* threadsafe on this class, which I will
happily admit has been there for a long time.

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1066064 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Kristian Rosenvold 2011-02-01 15:29:32 +00:00
parent 192fa3e111
commit 9d8fb63928
1 changed files with 2 additions and 2 deletions

View File

@ -53,7 +53,7 @@ public class DefaultArtifact
private final String classifier;
private String scope;
private volatile String scope;
private volatile File file;
@ -67,7 +67,7 @@ public class DefaultArtifact
private List<String> dependencyTrail;
private String version;
private volatile String version;
private VersionRange versionRange;