fix diagnostic for cleared indexes
authorDmitry Batkovich <dmitry.batkovich@jetbrains.com>
Thu, 13 Aug 2020 08:10:39 +0000 (11:10 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Thu, 13 Aug 2020 08:14:55 +0000 (08:14 +0000)
GitOrigin-RevId: f949819b2293543117584c8e22e1c5d6daed0a85

platform/lang-impl/src/com/intellij/util/indexing/FileBasedIndexImpl.java

index f9bbb523841ca636272788da2c886479747def39..172e261557cc44c133aa4fcc9cd520142186980f 100644 (file)
@@ -1295,7 +1295,7 @@ public final class FileBasedIndexImpl extends FileBasedIndexEx {
           if (updateStats == null) {
             setIndexedStatus.set(Boolean.FALSE);
           } else {
-            perIndexerUpdateTimes.put(indexId, updateStats.mapInputTime);
+            perIndexerDeletionTimes.put(indexId, updateStats.mapInputTime);
           }
         }
       }