Regenerate mockJDK using openJDK 7
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
// "Change function signature to 'fun next(p0: Int): Int'" "true"
|
||||
// "Change function signature to 'fun next(bits: Int): Int'" "true"
|
||||
import java.util.Random
|
||||
|
||||
class MyRandom : Random() {
|
||||
<caret>override fun next(): Int = 4
|
||||
}
|
||||
}
|
||||
|
||||
+3
-3
@@ -1,6 +1,6 @@
|
||||
// "Change function signature to 'fun next(p0: Int): Int'" "true"
|
||||
// "Change function signature to 'fun next(bits: Int): Int'" "true"
|
||||
import java.util.Random
|
||||
|
||||
class MyRandom : Random() {
|
||||
<caret>override fun next(p0: Int): Int = 4
|
||||
}
|
||||
override fun next(bits: Int): Int = 4
|
||||
}
|
||||
|
||||
@@ -2,4 +2,4 @@
|
||||
import java.io.DataInputStream
|
||||
import java.io.InputStream
|
||||
|
||||
class C(p0: InputStream?) : DataInputStream<caret>(p0)
|
||||
class C(`in`: InputStream?) : DataInputStream(`in`)
|
||||
|
||||
+1
-1
@@ -2,4 +2,4 @@
|
||||
// ACTION: Add constructor parameters from ArrayList(Int)
|
||||
import java.util.ArrayList
|
||||
|
||||
class C(p0: MutableCollection<out String>?) : ArrayList<String><caret>(p0)
|
||||
class C(c: MutableCollection<out String>?) : ArrayList<String>(c)
|
||||
|
||||
Reference in New Issue
Block a user