mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 06:05:01 +07:00
good code is red: allow unchecked conversion when static methods are in the same class
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class XX {
|
||||
public static String foo(Properties p, String s, boolean b){return null;}
|
||||
public static String foo(Map p, String s, boolean b){return null;}
|
||||
}
|
||||
class UU {
|
||||
void bar() {
|
||||
Properties p = new Properties();
|
||||
XX.fo<ref>o(p, "xxx", false);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user