Closed pan93412 closed 1 year ago
According to https://github.com/JetBrains/intellij-community/blob/0c1f99dc08e1542c4f0da0e2361ac0599849ffa7/platform/util/src/com/intellij/ui/IconManager.kt#L53-L54, the fun getIcon(path: String, aClass: Class<*>): Icon signature has been deprecated.
fun getIcon(path: String, aClass: Class<*>): Icon
Migrate it to fun getIcon(path: String, classLoader: ClassLoader): Icon.
fun getIcon(path: String, classLoader: ClassLoader): Icon
Not test yet.
None.
The Problem/Issue/Bug:
According to https://github.com/JetBrains/intellij-community/blob/0c1f99dc08e1542c4f0da0e2361ac0599849ffa7/platform/util/src/com/intellij/ui/IconManager.kt#L53-L54, the
fun getIcon(path: String, aClass: Class<*>): Icon
signature has been deprecated.How this PR Solves the Problem:
Migrate it to
fun getIcon(path: String, classLoader: ClassLoader): Icon
.Manual Testing Instructions:
Not test yet.
Related Issue Link(s):
None.