From 0c5da536bbb94ae79a3d5ff5792ec0faf66b716d Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Mon, 4 Jun 2018 14:03:47 +0200 Subject: [PATCH] IDEA-193023 completion.factors.user.xml should not be synchronized by Settings Repository --- .../impl/ApplicationUserFactorStorage.kt | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/plugins/stats-collector/src/com/intellij/stats/personalization/impl/ApplicationUserFactorStorage.kt b/plugins/stats-collector/src/com/intellij/stats/personalization/impl/ApplicationUserFactorStorage.kt index 9df487a1042c..335095089682 100644 --- a/plugins/stats-collector/src/com/intellij/stats/personalization/impl/ApplicationUserFactorStorage.kt +++ b/plugins/stats-collector/src/com/intellij/stats/personalization/impl/ApplicationUserFactorStorage.kt @@ -1,27 +1,14 @@ -/* - * Copyright 2000-2017 JetBrains s.r.o. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ +// 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. package com.intellij.stats.personalization.impl import com.intellij.openapi.components.ApplicationComponent +import com.intellij.openapi.components.RoamingType import com.intellij.openapi.components.State import com.intellij.openapi.components.Storage /** * @author Vitaliy.Bibaev */ -@State(name = "ApplicationUserFactors", storages = [(Storage("completion.factors.user.xml"))]) +@State(name = "ApplicationUserFactors", storages = [(Storage(value = "completion.factors.user.xml", roamingType = RoamingType.DISABLED))]) class ApplicationUserFactorStorage : ApplicationComponent, UserFactorStorageBase() \ No newline at end of file