From 2ffa51b1ab46ae5a79907b3e78d02419d642713b Mon Sep 17 00:00:00 2001 From: Alexey Pegov Date: Thu, 1 Oct 2009 12:09:36 +0400 Subject: [PATCH] remove savePathsRelative attribute --- .../impl/stores/BaseFileConfigurableStoreImpl.java | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/platform/platform-impl/src/com/intellij/openapi/components/impl/stores/BaseFileConfigurableStoreImpl.java b/platform/platform-impl/src/com/intellij/openapi/components/impl/stores/BaseFileConfigurableStoreImpl.java index e8e943029a7c..d73270429ee7 100644 --- a/platform/platform-impl/src/com/intellij/openapi/components/impl/stores/BaseFileConfigurableStoreImpl.java +++ b/platform/platform-impl/src/com/intellij/openapi/components/impl/stores/BaseFileConfigurableStoreImpl.java @@ -37,10 +37,8 @@ abstract class BaseFileConfigurableStoreImpl extends ComponentStoreImpl { } protected static class BaseStorageData extends FileBasedStorage.FileStorageData { - private boolean mySavePathsRelative; protected int myVersion; - public BaseStorageData(final String rootElementName) { super(rootElementName); } @@ -48,7 +46,6 @@ abstract class BaseFileConfigurableStoreImpl extends ComponentStoreImpl { protected BaseStorageData(BaseStorageData storageData) { super(storageData); - mySavePathsRelative = storageData.mySavePathsRelative; myVersion = ProjectManagerImpl.CURRENT_FORMAT_VERSION; } @@ -77,17 +74,14 @@ abstract class BaseFileConfigurableStoreImpl extends ComponentStoreImpl { protected int computeHash() { int result = super.computeHash(); - - if (mySavePathsRelative) result = result*31 + 1; result = result*31 + myVersion; - return result; } @Nullable public Set getDifference(final XmlElementStorage.StorageData storageData, PathMacroSubstitutor substitutor) { final BaseStorageData data = (BaseStorageData)storageData; - if (mySavePathsRelative != data.mySavePathsRelative || myVersion != data.myVersion) return null; + if (myVersion != data.myVersion) return null; return super.getDifference(storageData, substitutor); } }