Skip to content

Commit b249371

Browse files
committed
Add boxing to reflective call
1 parent bf0fe58 commit b249371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/src/main/scala/org/threeten/bp/format/DateTimeParseContext.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,7 @@ final class DateTimeParseContext private[format](private var locale: Locale,
277277
while (callbacks.hasNext) {
278278
val objects = callbacks.next()
279279
val pp: DateTimeFormatterBuilder.ReducedPrinterParser = objects(0).asInstanceOf[DateTimeFormatterBuilder.ReducedPrinterParser]
280-
pp.setValue(this, objects(1).asInstanceOf[Long], objects(2).asInstanceOf[Integer], objects(3).asInstanceOf[Integer])
280+
pp.setValue(this, objects(1).asInstanceOf[java.lang.Long], objects(2).asInstanceOf[Integer], objects(3).asInstanceOf[Integer])
281281
}
282282
}
283283
}

0 commit comments

Comments
 (0)