Skip to content

Commit

Permalink
Fixed: IgnoreBundle.messageOrDefault usage
Browse files Browse the repository at this point in the history
  • Loading branch information
hsz committed Oct 16, 2024
1 parent 24f6fa7 commit 23a844b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ import org.jetbrains.annotations.NonNls
*/
class IgnoreTokenType(@NonNls val myDebugName: String) : IElementType(myDebugName, IgnoreLanguage.INSTANCE) {

override fun toString(): String = IgnoreBundle.messageOrDefault("tokenType.$myDebugName", "IgnoreTokenType." + super.toString())
override fun toString() = IgnoreBundle.messageOrDefault("tokenType.$myDebugName", "IgnoreTokenType." + super.toString()).orEmpty()
}

0 comments on commit 23a844b

Please sign in to comment.