mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-13 09:19:13 +07:00
var -> explicit type: fix for foreach parameter (IDEA-206640)
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
// "Replace 'var' with explicit type" "true"
|
||||
final class Example {
|
||||
public static void main(String[] args) {
|
||||
for (String s : args) {
|
||||
System.out.println("s = " + s);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user