do not make VirtualFile Disposable
authorAlexey Kudravtsev <cdr@intellij.com>
Wed, 12 Aug 2020 17:03:07 +0000 (20:03 +0300)
committerintellij-monorepo-bot <intellij-monorepo-bot-no-reply@jetbrains.com>
Wed, 12 Aug 2020 17:37:39 +0000 (17:37 +0000)
commit7081457416834c323c7176d1d6c3a9fbd98de64e
treee0733235c1e63f65da05c24d039e19917f1f9b64
parent8d19f94a34f3604044df7508bb87687749d0db4d
do not make VirtualFile Disposable

because once disposed, its .dispose() method will never be called again which is most probably unexpected

GitOrigin-RevId: d79c11bbb00d8f34839b72c0c548a47c7a66cf13
platform/core-api/src/com/intellij/openapi/vfs/VirtualFile.java
plugins/editorconfig/src/org/editorconfig/configmanagement/editor/EditorConfigEditorProvider.java
plugins/editorconfig/src/org/editorconfig/configmanagement/editor/EditorConfigPreviewFile.java