var -> explicit type: fix for foreach parameter (IDEA-206640)

This commit is contained in:
Anna.Kozlova
2019-02-05 16:36:29 +01:00
parent 9a42bd3423
commit dac182b6d9
3 changed files with 18 additions and 3 deletions
@@ -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);
}
}
}