File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
model/src/main/kotlin/io/spine/validation/bound Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ internal data class KNumericBound(
5555 if (otherValue::class != value::class ) {
5656 error(
5757 " Illegal comparison of numeric bounds with incompatible value types." +
58- " Type of the instance value: `${simpleNameOf(value)} `, the other value has " +
59- " the type of `${simpleNameOf(otherValue)} `."
58+ " Type of the instance value: `${simpleNameOf(value)} `, the other value" +
59+ " has the type of `${simpleNameOf(otherValue)} `."
6060 )
6161 }
6262 return when (value) {
Original file line number Diff line number Diff line change @@ -166,6 +166,7 @@ internal class NumericBoundParser(
166166 fieldName.addAll(fieldPath.split(" ." ))
167167 }
168168
169+ @Suppress(" SwallowedException" )
169170 val boundField = try {
170171 val (messageType, _) = typeSystem.findMessage(field.declaringType)!!
171172 typeSystem.resolve(boundFieldPath, messageType)
You can’t perform that action at this time.
0 commit comments