Files
openide/java/java-tests/testData/codeInsight/joinLines/AssignmentExpressionPrecedence.java
T
Tagir Valeev 7730b97ee4 DeclarationJoinLinesHandler: respect precedence for both initializer and right-hand operand
Fixes IDEA-195416 Join lines over arithmetic operations should preserve order
Also StreamApiMigrationInspection#getOperationSign moved to TypeConversionUtil#getBinaryOperationText and reused
2018-07-12 11:26:49 +07:00

6 lines
75 B
Java

class Foo {
{
int a = 1 + 2<caret>;
a *= 2 + 3;
}
}