From b0ee389e6b2fa8b0f2213025ba12fcdb9093d629 Mon Sep 17 00:00:00 2001 From: "Maxim.Mossienko" Date: Fri, 26 Sep 2014 10:43:07 +0200 Subject: [PATCH] for version evaluation take indexer that is really used by id index --- .../src/com/intellij/psi/impl/cache/impl/id/IdIndexImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/lang-impl/src/com/intellij/psi/impl/cache/impl/id/IdIndexImpl.java b/platform/lang-impl/src/com/intellij/psi/impl/cache/impl/id/IdIndexImpl.java index 1773a260a706..c8575408e88b 100644 --- a/platform/lang-impl/src/com/intellij/psi/impl/cache/impl/id/IdIndexImpl.java +++ b/platform/lang-impl/src/com/intellij/psi/impl/cache/impl/id/IdIndexImpl.java @@ -53,7 +53,7 @@ public class IdIndexImpl extends IdIndex implements CustomInputsIndexFileBasedIn int version = super.getVersion(); for(FileType fileType:types) { if (!isIndexable(fileType)) continue; - FileTypeIdIndexer indexer = IdIndexers.INSTANCE.forFileType(fileType); + FileTypeIdIndexer indexer = IdTableBuilding.getFileTypeIndexer(fileType); if (indexer == null) continue; version = version * 31 + (indexer.getVersion() ^ indexer.getClass().getName().hashCode()); }