Commit Graph

6 Commits

Author SHA1 Message Date
Tagir Valeev
dd689d3a39 [java-inspections] More tests for preview
GitOrigin-RevId: 6b6405ee4491ad1d58947547c40df6fb2d291ab7
2022-07-29 17:54:59 +00:00
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
Tagir Valeev
625def0299 FoldExpressionIntoStream, StreamApiMigration: EquivalenceChecker used 2018-07-11 14:43:44 +07:00
Tagir Valeev
d327e1acdc FoldExpressionIntoStreamInspection: deparenthesize when testing whether it's too simple case 2018-07-06 13:58:48 +07:00
Tagir Valeev
ca3f94d456 FoldExpressionIntoStream: support String.join-able patterns (IDEA-190570) 2018-05-11 16:25:05 +07:00
Tagir Valeev
2c4af2781d Inspection: Expression can be folded into Stream chain (IDEA-187123) 2018-03-05 16:35:35 +07:00