do not suggest to make read only parameter local (IDEA-95021)

This commit is contained in:
anna
2012-11-15 17:09:55 +01:00
parent f928e63256
commit 1a64b3452a
4 changed files with 12 additions and 1 deletions
@@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<problems/>
@@ -0,0 +1,8 @@
class Test {
public static final boolean myFoo = false;
public static void foo(int p) {
if (!myFoo) return;
System.out.println("p = " + p);
}
}