mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inline method: ensure required braces are not removed (IDEA-201741)
This commit is contained in:
+15
@@ -0,0 +1,15 @@
|
||||
class Temp {
|
||||
public static void main(String... args) {
|
||||
if (args.length > 0) {
|
||||
if (args[0].equals("foo"))
|
||||
System.out.println("bar");
|
||||
}
|
||||
else
|
||||
System.out.println("help");
|
||||
}
|
||||
|
||||
private static void checkArgs(String[] args) {
|
||||
if (args[0].equals("foo"))
|
||||
System.out.println("bar");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user