extract method: null checks should not miss final modifiers ( IDEA-55515 )

This commit is contained in:
anna
2010-06-04 12:00:44 +04:00
parent c6c7190d11
commit 48913eb2fe
4 changed files with 46 additions and 11 deletions
@@ -0,0 +1,13 @@
class Test {
void foo() {
<selection>final String str = "";
if (str == "") {
return;
}</selection>
new Runnable() {
public void run() {
System.out.println(str);
}
}
}
}