J2K: adapted for default visibility modifier 'public'
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
import java.lang.reflect.Constructor
|
||||
|
||||
object X {
|
||||
internal object X {
|
||||
Throws(Exception::class)
|
||||
fun <T> foo(constructor: Constructor<T>, args1: Array<Any>, args2: Array<Any>) {
|
||||
internal fun <T> foo(constructor: Constructor<T>, args1: Array<Any>, args2: Array<Any>) {
|
||||
constructor.newInstance(*args1)
|
||||
constructor.newInstance(args1, args2)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user