From e9049d74a8a0727c0ee3e1cc064171ff808ef34d Mon Sep 17 00:00:00 2001 From: Dmitry Batkovich Date: Wed, 31 Jul 2019 12:00:28 +0300 Subject: [PATCH] cleanup inline field GitOrigin-RevId: 84112d07b2709555a1e7d55e181e8ba032b0220a --- .../com/intellij/xml/index/SchemaTypeInheritanceIndex.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/xml/xml-psi-impl/src/com/intellij/xml/index/SchemaTypeInheritanceIndex.java b/xml/xml-psi-impl/src/com/intellij/xml/index/SchemaTypeInheritanceIndex.java index 2dee9d1a173b..316796a4d704 100644 --- a/xml/xml-psi-impl/src/com/intellij/xml/index/SchemaTypeInheritanceIndex.java +++ b/xml/xml-psi-impl/src/com/intellij/xml/index/SchemaTypeInheritanceIndex.java @@ -62,7 +62,6 @@ public class SchemaTypeInheritanceIndex extends XmlIndex> { private static class MyWorker implements BiFunction>> { private final Project myProject; private final VirtualFile myCurrentFile; - private final GlobalSearchScope myFilter; private final boolean myShouldParseCurrent; private MultiMap myMap; @@ -70,8 +69,8 @@ public class SchemaTypeInheritanceIndex extends XmlIndex> { myCurrentFile = currentFile; myProject = project; - myFilter = createFilter(project); - myShouldParseCurrent = (myCurrentFile != null && ! myFilter.contains(myCurrentFile)); + GlobalSearchScope filter = createFilter(project); + myShouldParseCurrent = (myCurrentFile != null && ! filter.contains(myCurrentFile)); } @Override