New J2K: Fix existing test data

This commit is contained in:
Ilya Kirillov
2019-03-26 22:32:42 +03:00
committed by Ilya Kirillov
parent 76b73542d9
commit b13f7431f2
121 changed files with 655 additions and 324 deletions
@@ -1,10 +1,8 @@
import java.io.ByteArrayInputStream
import java.io.IOException
import java.io.InputStream
import java.io.*
internal interface I {
@Throws(IOException::class)
fun doIt(stream: InputStream?): Int
fun doIt(stream: InputStream): Int
}
class C {
@@ -21,7 +19,7 @@ class C {
}
@Throws(IOException::class)
internal fun bar(i: I, stream: InputStream?): Int {
internal fun bar(i: I, stream: InputStream): Int {
return i.doIt(stream)
}
}
@@ -1,10 +1,8 @@
import java.io.ByteArrayInputStream
import java.io.IOException
import java.io.InputStream
import java.io.*
internal interface I {
@Throws(IOException::class)
fun doIt(stream: InputStream?): Int
fun doIt(stream: InputStream): Int
}
class C {
@@ -21,7 +19,7 @@ class C {
}
@Throws(IOException::class)
internal fun bar(i: I, stream: InputStream?): Int {
internal fun bar(i: I, stream: InputStream): Int {
return i.doIt(stream)
}
}