From a3c6a390693d23686e098e1312fd57330a95e4cd Mon Sep 17 00:00:00 2001 From: "Vladislav.Soroka" Date: Mon, 13 Mar 2017 18:36:43 +0300 Subject: [PATCH] final concurrent fields --- .../service/project/manage/ExternalProjectsDataStorage.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/ExternalProjectsDataStorage.java b/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/ExternalProjectsDataStorage.java index b4d7ca6822f5..de4e72d3f9e6 100644 --- a/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/ExternalProjectsDataStorage.java +++ b/platform/external-system-impl/src/com/intellij/openapi/externalSystem/service/project/manage/ExternalProjectsDataStorage.java @@ -438,21 +438,21 @@ public class ExternalProjectsDataStorage implements SettingsSavingComponent, Per @Property(surroundWithTag = false) @MapAnnotation(surroundWithTag = false, surroundValueWithTag = false, surroundKeyWithTag = false, keyAttributeName = "path", entryTagName = "projectState") - public Map map = ContainerUtil.newConcurrentMap(); + public final Map map = ContainerUtil.newConcurrentMap(); } static class ProjectState { @Property(surroundWithTag = false) @MapAnnotation(surroundWithTag = false, surroundValueWithTag = false, surroundKeyWithTag = false, keyAttributeName = "path", entryTagName = "dataType") - public Map map = ContainerUtil.newConcurrentMap(); + public final Map map = ContainerUtil.newConcurrentMap(); public boolean isInclusion; } static class ModuleState { @Property(surroundWithTag = false) @AbstractCollection(surroundWithTag = false, elementTag = "id") - public Set set = ContainerUtil.newConcurrentSet(); + public final Set set = ContainerUtil.newConcurrentSet(); public ModuleState() { }