File tree Expand file tree Collapse file tree 4 files changed +2
-8
lines changed
okio/src/nativeMain/kotlin/okio Expand file tree Collapse file tree 4 files changed +2
-8
lines changed Original file line number Diff line number Diff line change 11[versions ]
2- burst = " 2.10.2 "
2+ burst = " 2.11.0 "
33jmh = " 1.37"
4- kotlin = " 2.2.21 "
4+ kotlin = " 2.3.0 "
55ktlint = " 0.48.2"
66
77[libraries ]
Original file line number Diff line number Diff line change @@ -28,7 +28,6 @@ actual class DeflaterSink internal actual constructor(
2828 deflater: Deflater ,
2929 ) : this (sink.buffer(), deflater)
3030
31- @Throws(IOException ::class )
3231 actual override fun write (source : Buffer , byteCount : Long ) {
3332 checkOffsetAndCount(source.size, 0 , byteCount)
3433
@@ -40,7 +39,6 @@ actual class DeflaterSink internal actual constructor(
4039 )
4140 }
4241
43- @Throws(IOException ::class )
4442 actual override fun flush () {
4543 deflater.flush = Z_SYNC_FLUSH
4644 deflater.dataProcessor.writeBytesFromSource(
@@ -56,7 +54,6 @@ actual class DeflaterSink internal actual constructor(
5654 return sink.timeout()
5755 }
5856
59- @Throws(IOException ::class )
6057 internal actual fun finishDeflate () {
6158 deflater.flush = Z_FINISH
6259 deflater.dataProcessor.writeBytesFromSource(
@@ -66,7 +63,6 @@ actual class DeflaterSink internal actual constructor(
6663 )
6764 }
6865
69- @Throws(IOException ::class )
7066 actual override fun close () {
7167 if (deflater.dataProcessor.closed) return
7268
Original file line number Diff line number Diff line change @@ -113,7 +113,6 @@ actual abstract class FileSystem : Closeable {
113113 @Throws(IOException ::class )
114114 actual abstract fun createSymlink (source : Path , target : Path )
115115
116- @Throws(IOException ::class )
117116 actual override fun close () {
118117 }
119118
Original file line number Diff line number Diff line change @@ -24,7 +24,6 @@ actual class InflaterSource internal actual constructor(
2424 inflater: Inflater ,
2525 ) : this (source.buffer(), inflater)
2626
27- @Throws(IOException ::class )
2827 actual override fun read (sink : Buffer , byteCount : Long ): Long {
2928 require(byteCount >= 0L ) { " byteCount < 0: $byteCount " }
3029
You can’t perform that action at this time.
0 commit comments