MavenProjectTree.myExplicitProfiles must be not-volatile because it used under lock.

This commit is contained in:
Sergey Evdokimov
2012-11-15 14:35:17 +04:00
parent 777c3286d9
commit d4d82ef495
@@ -64,7 +64,7 @@ public class MavenProjectsTree {
private volatile List<String> myIgnoredFilesPatterns = new ArrayList<String>();
private volatile Pattern myIgnoredFilesPatternsCache;
private volatile Set<String> myExplicitProfiles = new THashSet<String>();
private Set<String> myExplicitProfiles = new THashSet<String>();
private final Set<String> myTemporarilyRemovedExplicitProfiles = new THashSet<String>();
private final List<MavenProject> myRootProjects = new ArrayList<MavenProject>();