Skip to content

Commit

Permalink
fixup! Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
e5l committed Dec 6, 2022
1 parent 269af75 commit c75d2a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ktor-io/jvm/src/io/ktor/utils/io/ByteBufferChannel.kt
Expand Up @@ -1987,6 +1987,7 @@ internal open class ByteBufferChannel(
}
}
} catch (_: EOFException) {
// Ignored by the contract of [ByteReadChannel.readUTF8LineTo] method
}
}

Expand All @@ -1999,6 +2000,7 @@ internal open class ByteBufferChannel(
}
}
} catch (_: EOFException) {
// Ignored by the contract of [ByteReadChannel.readUTF8LineTo] method
}
}

Expand Down Expand Up @@ -2344,7 +2346,7 @@ internal open class ByteBufferChannel(
}
}
} catch (_: EOFException) {
// ignore
// ignored by the contract of peekTo method
}

return bytesCopied.toLong()
Expand Down

0 comments on commit c75d2a5

Please sign in to comment.