Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/foldIntoStream/beforeConcatCharDelimiter.java
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
171 B
Java

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