Files
Tagir Valeev 229f9206e8 FoldExpressionIntoStream: disable for non-string separator and automatically convert char
CharToStringIntention#stringForCharLiteral moved to PsiLiteralUtil
Fixes IDEA-195621 "Expression can be folded into Stream chain" produces red code when delimiter is char type
2018-07-29 13:41:30 +07:00

7 lines
168 B
Java

// "Fold expression into 'String.join'" "false"
class Test {
String foo(String a, String b, String c) {
String s = a + <caret>5 + b + 5 + c ;
return s;
}
}