Skip to content

Commit

Permalink
remove text text
Browse files Browse the repository at this point in the history
  • Loading branch information
kozaxinan committed Sep 13, 2024
1 parent 25323ca commit 533af4e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,7 @@ internal class ImmutableDataClassDetector : Detector(), UastScanner {
) {
val problematicFields = fields.filter { field: UField ->
!field.hasModifierProperty(PsiModifier.FINAL) ||
field.isTypeMutable(evaluator) ||
field.text.contains("Mutable")
field.isTypeMutable(evaluator)
}

if (problematicFields.isNotEmpty()) {
Expand Down

0 comments on commit 533af4e

Please sign in to comment.