mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-CR-62611: IDEA-236152 remove redundant reportStatistic=true
GitOrigin-RevId: f19c8721461e2eeb3bd4e0dcecff2c1b514df7a0
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3fc26cb662
commit
ce7b76e5c4
+2
-2
@@ -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<JavaCodeFoldingSettingsImpl> {
|
||||
@Override
|
||||
public JavaCodeFoldingSettingsImpl getState() {
|
||||
|
||||
@@ -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<JsonEditorOptions> {
|
||||
public boolean COMMA_ON_ENTER = true;
|
||||
|
||||
@@ -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<DiffApplicationSettings> {
|
||||
|
||||
|
||||
@@ -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<NotRoamableUiOptions> {
|
||||
private var state = NotRoamableUiOptions()
|
||||
|
||||
|
||||
@@ -29,7 +29,7 @@ import kotlin.math.roundToInt
|
||||
|
||||
private val LOG = logger<UISettings>()
|
||||
|
||||
@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<UISettingsState> {
|
||||
constructor() : this(ApplicationManager.getApplication().getService(NotRoamableUiSettings::class.java))
|
||||
|
||||
|
||||
+1
-1
@@ -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<CodeFoldingSettings> {
|
||||
@Override
|
||||
public CodeFoldingSettings getState() {
|
||||
|
||||
+2
-2
@@ -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<AppEditorFontOptions.PersistentFontPreferences> {
|
||||
|
||||
private final FontPreferencesImpl myFontPreferences = new FontPreferencesImpl();
|
||||
|
||||
+2
-2
@@ -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<ProjectViewSharedSettings> {
|
||||
var flattenPackages: Boolean = false
|
||||
var showMembers: Boolean = false
|
||||
|
||||
@@ -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<GeneralSettings> {
|
||||
public static final String IDE_GENERAL_XML = "ide.general.xml";
|
||||
|
||||
|
||||
@@ -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<Element> {
|
||||
public static final String DEFAULT_DATE_FORMAT = "dd MMM yyyy";
|
||||
private boolean myPrettyFormattingAllowed = true;
|
||||
|
||||
@@ -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<Element> {
|
||||
private static final Logger LOG = Logger.getInstance(WebBrowserManager.class);
|
||||
|
||||
|
||||
+1
-1
@@ -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<UpdateOptions> {
|
||||
public static UpdateSettings getInstance() {
|
||||
return ServiceManager.getService(UpdateSettings.class);
|
||||
|
||||
@@ -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<TaskManagerImpl.Config>, Disposable {
|
||||
private static final Logger LOG = Logger.getInstance(TaskManagerImpl.class);
|
||||
|
||||
|
||||
@@ -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<VcsApplicationSettings> {
|
||||
public String PATCH_STORAGE_LOCATION = null;
|
||||
|
||||
@@ -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<TerminalOptionsProvider.State> {
|
||||
private var myState = State()
|
||||
|
||||
|
||||
@@ -49,7 +49,7 @@ import java.util.List;
|
||||
* <p/>
|
||||
* 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<Config> {
|
||||
private Config configuration = new Config();
|
||||
|
||||
|
||||
@@ -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<EmmetOptions> {
|
||||
private boolean myEmmetEnabled = true;
|
||||
|
||||
+1
-2
@@ -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<WebEditorOptions> {
|
||||
private static final boolean myShowCssColorPreviewInGutter = true;
|
||||
|
||||
+2
-2
@@ -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<XmlFoldingSettings.State> {
|
||||
private final XmlFoldingSettings.State myState = new State();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user