inline: discard inline of variable with initializer in try/catch (IDEA-90390)

This commit is contained in:
anna
2012-09-25 09:38:33 +02:00
parent d61a204d41
commit 2b84533a1f
5 changed files with 65 additions and 0 deletions
@@ -0,0 +1,15 @@
import java.io.*;
class Test {
private static InputStream getInputUnchecked(InputStream inputSupplier) throws IOException {
InputStream in;
try {
in = null;
}
catch (IOException e) {
throw new IOException();
}
return i<caret>n;
}
}