mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-25 17:07:05 +07:00
redundant cast: restoring call by top level, let's search by arg list offset in order to avoid finding method calls from qualifiers
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
class Test {
|
||||
{
|
||||
setFont(getFont().substring((int)fontSize()));
|
||||
}
|
||||
|
||||
void setFont(String s) {}
|
||||
|
||||
String getFont() {
|
||||
return "";
|
||||
}
|
||||
|
||||
double fontSize () {
|
||||
return 1.0;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user