mirror of https://github.com/apache/maven.git
[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:
parent
192fa3e111
commit
9d8fb63928
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue