mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
Revert "DeclarationJoinLinesHandler: respect precedence for both initializer and right-hand operand"
This reverts commit 7730b97e (IDEA-CR-34859)
This commit is contained in:
@@ -1,6 +0,0 @@
|
||||
class Foo {
|
||||
{
|
||||
int a = 1 + 2<caret>;
|
||||
a *= 2 + 3;
|
||||
}
|
||||
}
|
||||
-5
@@ -1,5 +0,0 @@
|
||||
class Foo {
|
||||
{
|
||||
int a = (1 + 2) * (2 + 3);
|
||||
}
|
||||
}
|
||||
@@ -187,7 +187,6 @@ public class JoinLinesTest extends LightCodeInsightTestCase {
|
||||
|
||||
public void testAssignmentExpression() { doTest(); }
|
||||
public void testAssignmentExpression2() { doTest(); }
|
||||
public void testAssignmentExpressionPrecedence() { doTest(); }
|
||||
|
||||
public void testReformatInsertsNewlines() {
|
||||
CommonCodeStyleSettings settings = getJavaSettings();
|
||||
|
||||
Reference in New Issue
Block a user