Fix test data for safe delete test
(cherry picked from commit 25f363d)
This commit is contained in:
committed by
Dmitry Petrov
parent
50ff146865
commit
12d5aca9d6
@@ -2,6 +2,6 @@ package test;
|
|||||||
|
|
||||||
class A {
|
class A {
|
||||||
void fun bar() {
|
void fun bar() {
|
||||||
TestPackage.foo("");
|
FunExtKt.foo("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+1
-1
@@ -2,6 +2,6 @@ package test;
|
|||||||
|
|
||||||
class A {
|
class A {
|
||||||
void bar() {
|
void bar() {
|
||||||
TestPackage.getFoo("");
|
PropertyExtKt.getFoo("");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+1
-1
@@ -2,7 +2,7 @@ package test;
|
|||||||
|
|
||||||
class A {
|
class A {
|
||||||
void bar() {
|
void bar() {
|
||||||
TestPackage.foo(
|
LambdaArgKt.foo(
|
||||||
10, new Function1<Integer, Unit>() {
|
10, new Function1<Integer, Unit>() {
|
||||||
public Unit invoke(Integer n) {
|
public Unit invoke(Integer n) {
|
||||||
System.out.println(n);
|
System.out.println(n);
|
||||||
|
|||||||
Vendored
+1
-1
@@ -2,7 +2,7 @@ package test;
|
|||||||
|
|
||||||
class A {
|
class A {
|
||||||
void bar() {
|
void bar() {
|
||||||
TestPackage.foo(
|
LambdaArgKt.foo(
|
||||||
10
|
10
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
@@ -2,7 +2,7 @@ package test;
|
|||||||
|
|
||||||
class A {
|
class A {
|
||||||
void bar() {
|
void bar() {
|
||||||
TestPackage.foo(
|
LambdaArgExtKt.foo(
|
||||||
"", 10, new Function1<Integer, Unit>() {
|
"", 10, new Function1<Integer, Unit>() {
|
||||||
public Unit invoke(Integer n) {
|
public Unit invoke(Integer n) {
|
||||||
System.out.println(n);
|
System.out.println(n);
|
||||||
|
|||||||
Vendored
+1
-1
@@ -2,7 +2,7 @@ package test;
|
|||||||
|
|
||||||
class A {
|
class A {
|
||||||
void bar() {
|
void bar() {
|
||||||
TestPackage.foo(
|
LambdaArgExtKt.foo(
|
||||||
"", 10
|
"", 10
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Vendored
+1
-1
@@ -2,6 +2,6 @@ package test;
|
|||||||
|
|
||||||
class B {
|
class B {
|
||||||
void bar(A a) {
|
void bar(A a) {
|
||||||
TestPackage.foo(a, 1, "1", "!");
|
SafeUsagesExt1Kt.foo(a, 1, "1", "!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/safeUsagesExt1.java.after
Vendored
+1
-1
@@ -2,6 +2,6 @@ package test;
|
|||||||
|
|
||||||
class B {
|
class B {
|
||||||
void bar(A a) {
|
void bar(A a) {
|
||||||
TestPackage.foo(a, "1", "!");
|
SafeUsagesExt1Kt.foo(a, "1", "!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Vendored
+1
-1
@@ -2,6 +2,6 @@ package test;
|
|||||||
|
|
||||||
class B {
|
class B {
|
||||||
void bar(A a) {
|
void bar(A a) {
|
||||||
TestPackage.foo(a, 1, "1", "!");
|
SafeUsagesExt2Kt.foo(a, 1, "1", "!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
idea/testData/safeDelete/deleteValueParameter/kotlinValueParameterWithJava/safeUsagesExt2.java.after
Vendored
+1
-1
@@ -2,6 +2,6 @@ package test;
|
|||||||
|
|
||||||
class B {
|
class B {
|
||||||
void bar(A a) {
|
void bar(A a) {
|
||||||
TestPackage.foo(a, 1, "!");
|
SafeUsagesExt2Kt.foo(a, 1, "!");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user