Skip to content

Commit a01c595

Browse files
author
Vasily Karyaev
committed
Fixed a typo
1 parent d9dea2e commit a01c595

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/test/kotlin/com/ecwid/apiclient/v3/util/FetchedUpdatedDTOsChecker.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -215,15 +215,15 @@ private fun checkField(
215215
}
216216
}
217217
else -> {
218-
val updatedDTOFieldClassCorrecterd = if (updatedDTOFieldClass == NullableUpdatedValue::class.java) {
218+
val updatedDTOFieldClassCorrected = if (updatedDTOFieldClass == NullableUpdatedValue::class.java) {
219219
(updatedDTOField.genericType as ParameterizedType).actualTypeArguments[0] as Class<*>
220220
} else {
221221
updatedDTOFieldClass
222222
}
223223

224224
checkClassOrPrimitive(
225225
fetchedDTOClass = fetchedDTOFieldClass,
226-
updatedDTOClass = updatedDTOFieldClassCorrecterd,
226+
updatedDTOClass = updatedDTOFieldClassCorrected,
227227
parentFetchedDTOClass = fetchedDTOClass,
228228
parentUpdatedDTOClass = updatedDTOClass,
229229
fieldName = fieldName,

0 commit comments

Comments
 (0)