diff options
Diffstat (limited to 'platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed')
-rw-r--r-- | platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesCache.java | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesCache.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesCache.java index 6619b98ea5e9..2708f5130040 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesCache.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/changes/committed/CommittedChangesCache.java @@ -21,7 +21,10 @@ import com.intellij.openapi.Disposable; import com.intellij.openapi.application.Application; import com.intellij.openapi.application.ApplicationManager; import com.intellij.openapi.application.ModalityState; -import com.intellij.openapi.components.*; +import com.intellij.openapi.components.PersistentStateComponent; +import com.intellij.openapi.components.State; +import com.intellij.openapi.components.Storage; +import com.intellij.openapi.components.StoragePathMacros; import com.intellij.openapi.diagnostic.Logger; import com.intellij.openapi.progress.ProcessCanceledException; import com.intellij.openapi.progress.ProgressManagerQueue; @@ -64,12 +67,8 @@ import java.util.concurrent.TimeUnit; * @author yole */ @State( - name="CommittedChangesCache", - roamingType = RoamingType.DISABLED, - storages= { - @Storage( - file = StoragePathMacros.WORKSPACE_FILE - )} + name = "CommittedChangesCache", + storages = {@Storage(file = StoragePathMacros.WORKSPACE_FILE)} ) public class CommittedChangesCache implements PersistentStateComponent<CommittedChangesCache.State> { private static final Logger LOG = Logger.getInstance("#com.intellij.openapi.vcs.changes.committed.CommittedChangesCache"); |