Fix exception, sorry

GitOrigin-RevId: a7a333df696ecbf9094a7f5c57ff89ba9f97f601
This commit is contained in:
Dmitry Jemerov
2019-08-12 17:03:47 +03:00
committed by intellij-monorepo-bot
parent 6bc2624bb6
commit 3cc5d65edb
@@ -100,6 +100,7 @@ public class EditorComposite implements Disposable {
ApplicationManager.getApplication().assertIsDispatchThread();
myFile = file;
myEditors = editors;
myProviders = providers;
if (ArrayUtil.contains(null, editors)) throw new IllegalArgumentException("Must not pass null editors in " + Arrays.asList(editors));
myFileEditorManager = fileEditorManager;
myInitialFileTimeStamp = myFile.getTimeStamp();