Skip to content

Commit 55b47a8

Browse files
committed
Fix
1 parent 5297e89 commit 55b47a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/kotlin/com/gmail/blueboxware/libgdxplugin/filetypes/json/utils/SuppressionUtils.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ abstract class SuppressFix(val id: String): ContainerBasedSuppressQuickFix {
7878

7979
class SuppressForFileFix(id: String): SuppressFix(id) {
8080

81-
override fun getContainer(context: PsiElement?) = context?.containingFile as GdxJsonFile
81+
override fun getContainer(context: PsiElement?) = context?.containingFile as? GdxJsonFile
8282

8383
override fun getFamilyName(): String = message("suppress.file")
8484

0 commit comments

Comments
 (0)