Commit 949ccc1
committed
Fix CodeNarc UnnecessaryDotClass violations in IdentityEncoder
`ObjectId.class.isAssignableFrom(...)` and `String.class.isAssignableFrom(...)`
are flagged by the CodeNarc UnnecessaryDotClass rule. Drop the redundant
`.class` so the linter passes.1 parent b21d906 commit 949ccc1
1 file changed
Lines changed: 2 additions & 2 deletions
File tree
- grails-data-mongodb/bson/src/main/groovy/org/grails/datastore/bson/codecs/encoders
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
0 commit comments