boolean (@Nullable PassExecutorService.ScheduledPass sp1, @Nullable PassExecutorService.ScheduledPass sp2) { if (sp1 == null || sp2 == null) return sp1 == sp2; int id1 = ((TextEditorHighlightingPass)sp1.myPass).getId(); int id2 = ((TextEditorHighlightingPass)sp2.myPass).getId(); return id1 == id2 && sp1.myFileEditor == sp2.myFileEditor; }