diff --git a/java/java-impl/src/com/intellij/codeInsight/folding/impl/JavaCodeFoldingSettingsImpl.java b/java/java-impl/src/com/intellij/codeInsight/folding/impl/JavaCodeFoldingSettingsImpl.java index 84297f361787..62d72cc1ec48 100644 --- a/java/java-impl/src/com/intellij/codeInsight/folding/impl/JavaCodeFoldingSettingsImpl.java +++ b/java/java-impl/src/com/intellij/codeInsight/folding/impl/JavaCodeFoldingSettingsImpl.java @@ -1,4 +1,4 @@ -// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.codeInsight.folding.impl; import com.intellij.openapi.components.PersistentStateComponent; @@ -10,7 +10,7 @@ import org.jetbrains.annotations.NotNull; @State(name = "JavaCodeFoldingSettings", storages = { @Storage("editor.xml"), @Storage(value = "editor.codeinsight.xml", deprecated = true), -}, reportStatistic = true) +}) public class JavaCodeFoldingSettingsImpl extends JavaCodeFoldingSettingsBase implements PersistentStateComponent { @Override public JavaCodeFoldingSettingsImpl getState() { diff --git a/json/src/com/intellij/json/editor/JsonEditorOptions.java b/json/src/com/intellij/json/editor/JsonEditorOptions.java index 0b8d384fbebb..65e698c88b84 100644 --- a/json/src/com/intellij/json/editor/JsonEditorOptions.java +++ b/json/src/com/intellij/json/editor/JsonEditorOptions.java @@ -1,4 +1,4 @@ -// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.json.editor; import com.intellij.openapi.components.PersistentStateComponent; @@ -11,8 +11,7 @@ import org.jetbrains.annotations.Nullable; @State( name = "JsonEditorOptions", - storages = @Storage("editor.xml"), - reportStatistic = true + storages = @Storage("editor.xml") ) public class JsonEditorOptions implements PersistentStateComponent { public boolean COMMA_ON_ENTER = true; diff --git a/platform/diff-api/src/com/intellij/diff/DiffApplicationSettings.java b/platform/diff-api/src/com/intellij/diff/DiffApplicationSettings.java index cbd60fa78b15..8b5ecb9ed196 100644 --- a/platform/diff-api/src/com/intellij/diff/DiffApplicationSettings.java +++ b/platform/diff-api/src/com/intellij/diff/DiffApplicationSettings.java @@ -10,8 +10,7 @@ import org.jetbrains.annotations.NotNull; @State( name = "DiffApplicationSettings", - storages = @Storage("vcs.xml"), - reportStatistic = true + storages = @Storage("vcs.xml") ) public class DiffApplicationSettings implements PersistentStateComponent { diff --git a/platform/editor-ui-api/src/com/intellij/ide/ui/NotRoamableUiSettings.kt b/platform/editor-ui-api/src/com/intellij/ide/ui/NotRoamableUiSettings.kt index 374a76dedb47..042ef27ecc41 100644 --- a/platform/editor-ui-api/src/com/intellij/ide/ui/NotRoamableUiSettings.kt +++ b/platform/editor-ui-api/src/com/intellij/ide/ui/NotRoamableUiSettings.kt @@ -1,4 +1,4 @@ -// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.ui import com.intellij.openapi.components.* @@ -11,7 +11,7 @@ import com.intellij.util.xmlb.SerializationFilter import com.intellij.util.xmlb.annotations.Property import java.awt.Font -@State(name = "NotRoamableUiSettings", storages = [(Storage(StoragePathMacros.NON_ROAMABLE_FILE))], reportStatistic = true) +@State(name = "NotRoamableUiSettings", storages = [(Storage(StoragePathMacros.NON_ROAMABLE_FILE))]) class NotRoamableUiSettings : PersistentStateComponent { private var state = NotRoamableUiOptions() diff --git a/platform/editor-ui-api/src/com/intellij/ide/ui/UISettings.kt b/platform/editor-ui-api/src/com/intellij/ide/ui/UISettings.kt index adb1a28a6a8c..c7c5e8aa2fda 100644 --- a/platform/editor-ui-api/src/com/intellij/ide/ui/UISettings.kt +++ b/platform/editor-ui-api/src/com/intellij/ide/ui/UISettings.kt @@ -29,7 +29,7 @@ import kotlin.math.roundToInt private val LOG = logger() -@State(name = "UISettings", storages = [(Storage("ui.lnf.xml"))], reportStatistic = true) +@State(name = "UISettings", storages = [(Storage("ui.lnf.xml"))]) class UISettings @NonInjectable constructor(private val notRoamableOptions: NotRoamableUiSettings) : PersistentStateComponent { constructor() : this(ApplicationManager.getApplication().getService(NotRoamableUiSettings::class.java)) diff --git a/platform/editor-ui-ex/src/com/intellij/codeInsight/folding/CodeFoldingSettingsImpl.java b/platform/editor-ui-ex/src/com/intellij/codeInsight/folding/CodeFoldingSettingsImpl.java index 3ecde155e646..af59e2261c05 100644 --- a/platform/editor-ui-ex/src/com/intellij/codeInsight/folding/CodeFoldingSettingsImpl.java +++ b/platform/editor-ui-ex/src/com/intellij/codeInsight/folding/CodeFoldingSettingsImpl.java @@ -10,7 +10,7 @@ import org.jetbrains.annotations.NotNull; @State(name = "CodeFoldingSettings", storages = { @Storage("editor.xml"), @Storage(value = "editor.codeinsight.xml", deprecated = true), -}, reportStatistic = true) +}) final class CodeFoldingSettingsImpl extends CodeFoldingSettings implements PersistentStateComponent { @Override public CodeFoldingSettings getState() { diff --git a/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AppEditorFontOptions.java b/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AppEditorFontOptions.java index 52efe713ef5f..f1350ac4db3b 100644 --- a/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AppEditorFontOptions.java +++ b/platform/editor-ui-ex/src/com/intellij/openapi/editor/colors/impl/AppEditorFontOptions.java @@ -1,4 +1,4 @@ -// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.openapi.editor.colors.impl; import com.intellij.ide.ui.UISettings; @@ -15,7 +15,7 @@ import org.jetbrains.annotations.Nullable; import java.util.List; -@State(name = "DefaultFont", storages = @Storage("editor.xml"), reportStatistic = true) +@State(name = "DefaultFont", storages = @Storage("editor.xml")) public class AppEditorFontOptions implements PersistentStateComponent { private final FontPreferencesImpl myFontPreferences = new FontPreferencesImpl(); diff --git a/platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewSharedSettings.kt b/platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewSharedSettings.kt index 5ea9e29b2b41..aab0ba0e3fdd 100644 --- a/platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewSharedSettings.kt +++ b/platform/lang-impl/src/com/intellij/ide/projectView/impl/ProjectViewSharedSettings.kt @@ -1,4 +1,4 @@ -// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.ide.projectView.impl import com.intellij.openapi.components.PersistentStateComponent @@ -10,7 +10,7 @@ import com.intellij.util.xmlb.XmlSerializerUtil /** * @author Konstantin Bulenkov */ -@State(name = "ProjectViewSharedSettings", storages = [(Storage(value = "projectView.xml"))], reportStatistic = true) +@State(name = "ProjectViewSharedSettings", storages = [(Storage(value = "projectView.xml"))]) class ProjectViewSharedSettings : PersistentStateComponent { var flattenPackages: Boolean = false var showMembers: Boolean = false diff --git a/platform/platform-api/src/com/intellij/ide/GeneralSettings.java b/platform/platform-api/src/com/intellij/ide/GeneralSettings.java index 573c54528646..12715b203c47 100644 --- a/platform/platform-api/src/com/intellij/ide/GeneralSettings.java +++ b/platform/platform-api/src/com/intellij/ide/GeneralSettings.java @@ -24,7 +24,7 @@ import org.jetbrains.annotations.SystemDependent; import java.beans.PropertyChangeListener; import java.beans.PropertyChangeSupport; -@State(name = "GeneralSettings", storages = @Storage(GeneralSettings.IDE_GENERAL_XML), reportStatistic = true) +@State(name = "GeneralSettings", storages = @Storage(GeneralSettings.IDE_GENERAL_XML)) public final class GeneralSettings implements PersistentStateComponent { public static final String IDE_GENERAL_XML = "ide.general.xml"; diff --git a/platform/platform-api/src/com/intellij/util/text/DateTimeFormatManager.java b/platform/platform-api/src/com/intellij/util/text/DateTimeFormatManager.java index 97b09b53ab49..fb992308c399 100644 --- a/platform/platform-api/src/com/intellij/util/text/DateTimeFormatManager.java +++ b/platform/platform-api/src/com/intellij/util/text/DateTimeFormatManager.java @@ -1,4 +1,4 @@ -// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.util.text; import com.intellij.configurationStore.XmlSerializer; @@ -19,7 +19,7 @@ import java.util.stream.Collectors; /** * @author Konstantin Bulenkov */ -@State(name = "DateTimeFormatter", storages = @Storage("ui-datetime.xml"), reportStatistic = true) +@State(name = "DateTimeFormatter", storages = @Storage("ui-datetime.xml")) public class DateTimeFormatManager implements PersistentStateComponent { public static final String DEFAULT_DATE_FORMAT = "dd MMM yyyy"; private boolean myPrettyFormattingAllowed = true; diff --git a/platform/platform-impl/src/com/intellij/ide/browsers/WebBrowserManager.java b/platform/platform-impl/src/com/intellij/ide/browsers/WebBrowserManager.java index df2fb61d68be..8206b4682066 100644 --- a/platform/platform-impl/src/com/intellij/ide/browsers/WebBrowserManager.java +++ b/platform/platform-impl/src/com/intellij/ide/browsers/WebBrowserManager.java @@ -20,7 +20,7 @@ import org.jetbrains.annotations.Nullable; import java.util.*; -@State(name = "WebBrowsersConfiguration", storages = @Storage("web-browsers.xml"), reportStatistic = true) +@State(name = "WebBrowsersConfiguration", storages = @Storage("web-browsers.xml")) public class WebBrowserManager extends SimpleModificationTracker implements PersistentStateComponent { private static final Logger LOG = Logger.getInstance(WebBrowserManager.class); diff --git a/platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateSettings.java b/platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateSettings.java index 38c1eaf03d75..da2edcf2be30 100644 --- a/platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateSettings.java +++ b/platform/platform-impl/src/com/intellij/openapi/updateSettings/impl/UpdateSettings.java @@ -14,7 +14,7 @@ import java.util.Map; import java.util.stream.Collectors; import java.util.stream.Stream; -@State(name = "UpdatesConfigurable", storages = @Storage(value = "updates.xml", roamingType = RoamingType.DISABLED, exportable = true), reportStatistic = true) +@State(name = "UpdatesConfigurable", storages = @Storage(value = "updates.xml", roamingType = RoamingType.DISABLED, exportable = true)) public class UpdateSettings implements PersistentStateComponent { public static UpdateSettings getInstance() { return ServiceManager.getService(UpdateSettings.class); diff --git a/platform/tasks-platform-impl/src/com/intellij/tasks/impl/TaskManagerImpl.java b/platform/tasks-platform-impl/src/com/intellij/tasks/impl/TaskManagerImpl.java index 3c7fdbe62a93..f8effecae6a4 100644 --- a/platform/tasks-platform-impl/src/com/intellij/tasks/impl/TaskManagerImpl.java +++ b/platform/tasks-platform-impl/src/com/intellij/tasks/impl/TaskManagerImpl.java @@ -59,7 +59,7 @@ import java.util.concurrent.TimeoutException; /** * @author Dmitry Avdeev */ -@State(name = "TaskManager", storages = @Storage(StoragePathMacros.WORKSPACE_FILE), reportStatistic = true) +@State(name = "TaskManager", storages = @Storage(StoragePathMacros.WORKSPACE_FILE)) public final class TaskManagerImpl extends TaskManager implements PersistentStateComponent, Disposable { private static final Logger LOG = Logger.getInstance(TaskManagerImpl.class); diff --git a/platform/vcs-api/src/com/intellij/openapi/vcs/VcsApplicationSettings.java b/platform/vcs-api/src/com/intellij/openapi/vcs/VcsApplicationSettings.java index 73b9cf5ef2f8..a1473418949b 100644 --- a/platform/vcs-api/src/com/intellij/openapi/vcs/VcsApplicationSettings.java +++ b/platform/vcs-api/src/com/intellij/openapi/vcs/VcsApplicationSettings.java @@ -13,8 +13,7 @@ import org.jetbrains.annotations.NotNull; */ @State( name = "VcsApplicationSettings", - storages = @Storage("vcs.xml"), - reportStatistic = true + storages = @Storage("vcs.xml") ) public class VcsApplicationSettings implements PersistentStateComponent { public String PATCH_STORAGE_LOCATION = null; diff --git a/plugins/terminal/src/org/jetbrains/plugins/terminal/TerminalOptionsProvider.kt b/plugins/terminal/src/org/jetbrains/plugins/terminal/TerminalOptionsProvider.kt index f6744b6b9dc3..d2085fe10874 100644 --- a/plugins/terminal/src/org/jetbrains/plugins/terminal/TerminalOptionsProvider.kt +++ b/plugins/terminal/src/org/jetbrains/plugins/terminal/TerminalOptionsProvider.kt @@ -8,7 +8,7 @@ import com.intellij.openapi.components.State import com.intellij.openapi.components.Storage import com.intellij.util.xmlb.annotations.Property -@State(name = "TerminalOptionsProvider", storages = [(Storage("terminal.xml"))], reportStatistic = true) +@State(name = "TerminalOptionsProvider", storages = [(Storage("terminal.xml"))]) class TerminalOptionsProvider : PersistentStateComponent { private var myState = State() diff --git a/plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/XPathAppComponent.java b/plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/XPathAppComponent.java index 578bea84187d..981b59f7b4f9 100644 --- a/plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/XPathAppComponent.java +++ b/plugins/xpath/xpath-view/src/org/intellij/plugins/xpathView/XPathAppComponent.java @@ -49,7 +49,7 @@ import java.util.List; *

* Also used to manage highlighters. */ -@State(name = "XPathView.XPathViewPlugin", storages = @Storage("xpath.xml"), reportStatistic = true) +@State(name = "XPathView.XPathViewPlugin", storages = @Storage("xpath.xml")) public final class XPathAppComponent implements PersistentStateComponent { private Config configuration = new Config(); diff --git a/xml/impl/src/com/intellij/application/options/emmet/EmmetOptions.java b/xml/impl/src/com/intellij/application/options/emmet/EmmetOptions.java index 127f1f12d448..d4bb5cf12417 100644 --- a/xml/impl/src/com/intellij/application/options/emmet/EmmetOptions.java +++ b/xml/impl/src/com/intellij/application/options/emmet/EmmetOptions.java @@ -1,4 +1,4 @@ -// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.application.options.emmet; import com.intellij.codeInsight.template.emmet.filters.ZenCodingFilter; @@ -17,8 +17,7 @@ import java.util.Set; @State( name = "EmmetOptions", - storages = @Storage("emmet.xml"), - reportStatistic = true + storages = @Storage("emmet.xml") ) public class EmmetOptions implements PersistentStateComponent { private boolean myEmmetEnabled = true; diff --git a/xml/xml-analysis-impl/src/com/intellij/application/options/editor/WebEditorOptions.java b/xml/xml-analysis-impl/src/com/intellij/application/options/editor/WebEditorOptions.java index 23ebfe7d0ee7..14350045ddfc 100644 --- a/xml/xml-analysis-impl/src/com/intellij/application/options/editor/WebEditorOptions.java +++ b/xml/xml-analysis-impl/src/com/intellij/application/options/editor/WebEditorOptions.java @@ -11,8 +11,7 @@ import org.jetbrains.annotations.Nullable; @State( name = "XmlEditorOptions", - storages = @Storage("editor.xml"), - reportStatistic = true + storages = @Storage("editor.xml") ) public final class WebEditorOptions implements PersistentStateComponent { private static final boolean myShowCssColorPreviewInGutter = true; diff --git a/xml/xml-psi-impl/src/com/intellij/application/options/editor/XmlFoldingSettings.java b/xml/xml-psi-impl/src/com/intellij/application/options/editor/XmlFoldingSettings.java index f2d0b55f0faa..9a8093340508 100644 --- a/xml/xml-psi-impl/src/com/intellij/application/options/editor/XmlFoldingSettings.java +++ b/xml/xml-psi-impl/src/com/intellij/application/options/editor/XmlFoldingSettings.java @@ -1,4 +1,4 @@ -// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. +// Copyright 2000-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file. package com.intellij.application.options.editor; import com.intellij.lang.XmlCodeFoldingSettings; @@ -12,7 +12,7 @@ import org.jetbrains.annotations.NotNull; @State(name = "XmlFoldingSettings", storages = { @Storage("editor.xml"), @Storage(value = "editor.codeinsight.xml", deprecated = true), -}, reportStatistic = true) +}) public class XmlFoldingSettings implements XmlCodeFoldingSettings, PersistentStateComponent { private final XmlFoldingSettings.State myState = new State();