IDEA-175834 "catch" completion with overwrite (Tab) generates incorrect code

This commit is contained in:
peter
2017-07-17 14:14:22 +02:00
parent b9839bd0e3
commit b48b6362ab
4 changed files with 45 additions and 4 deletions
@@ -0,0 +1,10 @@
class A {
{
try {
mySocket.receive(p);
}
<caret>catch (SocketTimeoutException e) {
throw new TimeoutOccurredException(e);
}
}
}
@@ -0,0 +1,10 @@
class A {
{
try {
mySocket.receive(p);
}
catch (<caret>SocketTimeoutException e) {
throw new TimeoutOccurredException(e);
}
}
}