KT-987 Unboxing nulls
#KT-987 Fixed
This commit is contained in:
@@ -61,7 +61,7 @@ class Luhny() {
|
||||
|
||||
private fun printOneDigit() {
|
||||
while (!buffer.isEmpty()) {
|
||||
val c = buffer.removeFirst()
|
||||
val c = buffer.removeFirst().sure()
|
||||
print(c)
|
||||
if (c.isDigit()) {
|
||||
digits.removeFirst()
|
||||
|
||||
Reference in New Issue
Block a user