EA-88149 - assert: AnnotateToggleAction.lambda$doAnnotate$

This commit is contained in:
Aleksey Pivovarov
2016-09-08 17:10:29 +03:00
parent f87ea77bbd
commit ff7fc08e0e
@@ -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);
}
});