return notnull file from getFile()

GitOrigin-RevId: 0f99a2c5833f9d8a2020889fdfedb84637105bac
This commit is contained in:
Alexey Kudravtsev
2020-06-15 14:25:10 +03:00
committed by intellij-monorepo-bot
parent 41c51ab95a
commit 4190ecdcf2
@@ -54,7 +54,7 @@ class VcsLogIconProvider : FileIconProvider {
override fun getIcon(file: VirtualFile, flags: Int, project: Project?): Icon? = (file as? VcsLogFile)?.fileType?.icon
}
class VcsLogEditor(file: VcsLogFile) : FileEditorBase() {
class VcsLogEditor(val file: VcsLogFile) : FileEditorBase() {
private val container: JComponent = JPanel(BorderLayout())
private var vcsLogFile: VcsLogFile? = file