mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-10 13:17:09 +07:00
IDEA-175834 "catch" completion with overwrite (Tab) generates incorrect code
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user