IDEA-169556 Join Lines inserts redundant space in some cases

This commit is contained in:
Dmitry Batrak
2017-03-16 15:26:23 +03:00
parent c3542676b6
commit 4ae6919940
12 changed files with 60 additions and 58 deletions
@@ -1,6 +1,6 @@
class Foo {
void f() {
if (ff) { /*comment*/ return null;
if (ff) { /*comment*/return null;
}
}
}
@@ -0,0 +1,4 @@
class A {
<caret>String s = System
.getProperty("blah");
}
@@ -0,0 +1,3 @@
class A {
String s = System.getProperty("blah");
}
@@ -1,3 +1,3 @@
class Test {
}<caret> // this line is mandatory
}<caret>// this line is mandatory