Updated some test data so it won't be affected by automatic renamers.
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
package kotlin.testing
|
package kotlin.testing
|
||||||
|
|
||||||
import testing.NewInterfaceName
|
import testing.NewInterface
|
||||||
|
|
||||||
class Some(s: NewInterfaceName) : NewInterfaceName() {
|
class New(s: NewInterface) : NewInterface() {
|
||||||
val test = s
|
val test = s
|
||||||
|
|
||||||
fun testFun(param : NewInterfaceName) : NewInterfaceName {
|
fun testFun(param : NewInterface) : NewInterface {
|
||||||
return test;
|
return test;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
package testing;
|
||||||
|
|
||||||
|
public interface NewInterface {
|
||||||
|
}
|
||||||
|
|
||||||
-5
@@ -1,5 +0,0 @@
|
|||||||
package testing;
|
|
||||||
|
|
||||||
public interface NewInterfaceName {
|
|
||||||
}
|
|
||||||
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"type": "JAVA_CLASS",
|
"type": "JAVA_CLASS",
|
||||||
"classId": "testing/SomeInterface",
|
"classId": "testing/SomeInterface",
|
||||||
"newName": "NewInterfaceName",
|
"newName": "NewInterface",
|
||||||
"comment": "For KT-4100 Imports doesn't change after java interface name refactoring"
|
"comment": "For KT-4100 Imports doesn't change after java interface name refactoring"
|
||||||
}
|
}
|
||||||
-2
@@ -6,8 +6,6 @@ trait A {
|
|||||||
|
|
||||||
public open class B: A {
|
public open class B: A {
|
||||||
override fun second() = 1
|
override fun second() = 1
|
||||||
|
|
||||||
fun first(a: Int) = 12
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class C: B() {
|
class C: B() {
|
||||||
|
|||||||
-2
@@ -6,8 +6,6 @@ trait A {
|
|||||||
|
|
||||||
public open class B: A {
|
public open class B: A {
|
||||||
override fun first() = 1
|
override fun first() = 1
|
||||||
|
|
||||||
fun first(a: Int) = 12
|
|
||||||
}
|
}
|
||||||
|
|
||||||
class C: B() {
|
class C: B() {
|
||||||
|
|||||||
Reference in New Issue
Block a user