We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5297e89 commit 55b47a8Copy full SHA for 55b47a8
src/main/kotlin/com/gmail/blueboxware/libgdxplugin/filetypes/json/utils/SuppressionUtils.kt
@@ -78,7 +78,7 @@ abstract class SuppressFix(val id: String): ContainerBasedSuppressQuickFix {
78
79
class SuppressForFileFix(id: String): SuppressFix(id) {
80
81
- override fun getContainer(context: PsiElement?) = context?.containingFile as GdxJsonFile
+ override fun getContainer(context: PsiElement?) = context?.containingFile as? GdxJsonFile
82
83
override fun getFamilyName(): String = message("suppress.file")
84
0 commit comments