mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 03:13:40 +07:00
IDEA-168343 Suggest to change called method return type when used in return statement
This commit is contained in:
+10
@@ -0,0 +1,10 @@
|
||||
// "Make 'bar' return 'java.lang.String'" "true"
|
||||
public class Foo {
|
||||
String foo() {
|
||||
return bar();
|
||||
}
|
||||
|
||||
String bar() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
+9
@@ -0,0 +1,9 @@
|
||||
// "Make 'bar' return 'java.lang.String'" "true"
|
||||
public class Foo {
|
||||
String foo() {
|
||||
return <caret>bar();
|
||||
}
|
||||
|
||||
void bar() {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user