From ff7fc08e0ed9d00fe0046d6746d70f4b3fe29499 Mon Sep 17 00:00:00 2001 From: Aleksey Pivovarov Date: Thu, 8 Sep 2016 17:08:52 +0300 Subject: [PATCH] EA-88149 - assert: AnnotateToggleAction.lambda$doAnnotate$ --- .../com/intellij/openapi/vcs/actions/AnnotateToggleAction.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/vcs-impl/src/com/intellij/openapi/vcs/actions/AnnotateToggleAction.java b/platform/vcs-impl/src/com/intellij/openapi/vcs/actions/AnnotateToggleAction.java index 3c4a87319999..3e224d012141 100644 --- a/platform/vcs-impl/src/com/intellij/openapi/vcs/actions/AnnotateToggleAction.java +++ b/platform/vcs-impl/src/com/intellij/openapi/vcs/actions/AnnotateToggleAction.java @@ -104,7 +104,7 @@ public class AnnotateToggleAction extends ToggleAction implements DumbAware { fileAnnotation.setReloader(newFileAnnotation -> { if (editor.getGutter().isAnnotationsShown()) { - assert Comparing.equal(currentFile, newFileAnnotation.getFile()); + assert Comparing.equal(fileAnnotation.getFile(), newFileAnnotation.getFile()); doAnnotate(editor, project, currentFile, newFileAnnotation, vcs, upToDateLineNumberProvider); } });