Skip to content

Commit 47de6e0

Browse files
committed
Update Kotlin to 2.3
1 parent d752843 commit 47de6e0

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

gradle/libs.versions.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[versions]
2-
burst = "2.10.2"
2+
burst = "2.11.0"
33
jmh = "1.37"
4-
kotlin = "2.2.21"
4+
kotlin = "2.3.0"
55
ktlint = "0.48.2"
66

77
[libraries]

okio/src/nativeMain/kotlin/okio/DeflaterSink.kt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff 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

okio/src/nativeMain/kotlin/okio/FileSystem.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

okio/src/nativeMain/kotlin/okio/InflaterSource.kt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)