mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
inline: discard inline of variable with initializer in try/catch (IDEA-90390)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user