Skip to content

Commit

Permalink
Merge pull request #216 from wuseal/3.4.1-bugfx/#215
Browse files Browse the repository at this point in the history
fix #215
  • Loading branch information
TedZen authored Aug 5, 2019
2 parents a4111db + 62664c8 commit e14adf5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class MinimalAnnotationKotlinDataClassInterceptor : IKotlinDataClassInterceptor
override fun intercept(kotlinDataClass: KotlinDataClass): KotlinDataClass {
val newProperties = kotlinDataClass.properties.map { p ->
if (p.originName == p.name) {
p.copy(annotations = p.annotations.filter { it.rawName.isBlank() })
p.copy(annotations = p.annotations.filter { it.rawName.isEmpty() })
} else {
p
}
Expand Down

0 comments on commit e14adf5

Please sign in to comment.