mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-07 05:09:37 +07:00
don't use void in non-free method calls (IDEA-172958)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
// "Create method 'test'" "true"
|
||||
public class Test {
|
||||
{
|
||||
int i = (Integer)test();
|
||||
}
|
||||
|
||||
private Object test() {
|
||||
return null;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
// "Create method 'test'" "true"
|
||||
public class Test {
|
||||
{
|
||||
int i = (Integer)te<caret>st();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user