mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 07:40:42 +07:00
MethodReturnTypeFix: updated fix to change method return type based on return statements in method body (IDEA-216275)
GitOrigin-RevId: e97990950039123c8c41921a71342b8ed60afdee
This commit is contained in:
committed by
intellij-monorepo-bot
parent
52aa1ae553
commit
42d733a694
+1
-1
@@ -6,7 +6,7 @@ class Test {
|
||||
<warning descr="Unchecked call to 'isAssignableFrom(Class<?>)' as a member of raw type 'java.lang.Class'">foo.isAssignableFrom</warning>(Object.class);
|
||||
}
|
||||
|
||||
public List<String> transform(List<List<String>> result) {
|
||||
public List<String> <error descr="Invalid return type">transform</error>(List<List<String>> result) {
|
||||
<error descr="Incompatible types. Found: 'java.util.List<java.util.List<java.lang.String>>', required: 'java.util.List<java.lang.String>'">return result;</error>
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user