join lines do not merge closing brace and catch keyword, when 'catch on new line' enabled (IDEA-179581)

This commit is contained in:
Yaroslav Lepenkin
2017-10-17 10:21:10 +03:00
parent e4efb836cd
commit c6d8b2f05e
4 changed files with 26 additions and 1 deletions
@@ -0,0 +1,10 @@
class A {
public void foo() {
try {
System.out.println("Hello");
}<caret>
catch (Exception e) {
System.err.println("Error");
}
}
}
@@ -0,0 +1,9 @@
class A {
public void foo() {
try {
System.out.println("Hello");
} catch (Exception e) {
System.err.println("Error");
}
}
}