Skip to content

Commit

Permalink
Fix too long line
Browse files Browse the repository at this point in the history
  • Loading branch information
yevhenii-nadtochii committed Oct 8, 2024
1 parent 367d9ce commit 9fc1944
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@ public class AddComparator(
if (clazz.isProtoValueMessage) {
comparingBy("$path.value")
} else if (ComparatorRegistry.contains(clazz)) {
val canonical = clazz.canonicalName
val comparator = "io.spine.compare.ComparatorRegistry.INSTANCE.get($canonical.class)"
val className = "${clazz.canonicalName}.class"
val comparator = "io.spine.compare.ComparatorRegistry.INSTANCE.get($className)"
comparingBy(path, comparator)
}
}
Expand Down

0 comments on commit 9fc1944

Please sign in to comment.