mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
change method return type on call site (IDEA-125166)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Make 'bar' return 'java.lang.String'" "true"
|
||||
public class Foo {
|
||||
void foo() {
|
||||
String s;
|
||||
s = bar();
|
||||
}
|
||||
|
||||
String bar() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Make 'bar' return 'java.lang.String'" "true"
|
||||
public class Foo {
|
||||
void foo() {
|
||||
String s = bar();
|
||||
}
|
||||
|
||||
String bar() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+10
@@ -0,0 +1,10 @@
|
||||
// "Make 'bar' return 'java.lang.String'" "true"
|
||||
public class Foo {
|
||||
void foo() {
|
||||
String s;
|
||||
<caret>s = bar();
|
||||
}
|
||||
|
||||
void bar() {
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Make 'bar' return 'java.lang.String'" "true"
|
||||
public class Foo {
|
||||
void foo() {
|
||||
String <caret>s = bar();
|
||||
}
|
||||
|
||||
void bar() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user