Commit Graph
6 Commits
Author SHA1 Message Date
Ilyas Selimovandintellij-monorepo-bot 5fbb440207 IDEA-228553 - fix a positive test on Paths.get
GitOrigin-RevId: 261c5649b2890b4a690a5ac916bc02c555af551e
2020-05-29 16:26:25 +03:00
Ilyas Selimovandintellij-monorepo-bot 3d8460f557 IDEA-228553 - separated two intention actions between different language levels not to prevent users confusing what to choose
GitOrigin-RevId: 76677d371b01ba501716756d9ea1dafa61c85404
2020-05-28 15:01:30 +03:00
Tagir Valeev 413aca292b WrapWithAdapterMethodCallFix: correctly handle disjunction type
Fixes EA-116570 Cannot create expression for type class com.intellij.psi.PsiDisjunctionType
2018-02-18 07:54:47 +07:00
Tagir Valeev 0ff0cfe3bc IDEA-180862 'Wrap using Collections.singletonList' intention doesn't work with subtypes of return type
Also anonymous classes supported
2017-10-24 16:46:42 +07:00
Tagir Valeev 8e9216b907 Fix IDEA-178248 WrapWithAdapterMethodCallFix exception on unresolved code 2017-08-30 16:38:53 +07:00
Tagir Valeev 661388f0c2 WrapWithAdapterMethodCallFix replaces individual cases
WrapArrayToArraysAsListFix, WrapLongWithMathToIntExactFix, WrapStringWithFileFix are united into WrapWithAdapterMethodCallFix. Also Paths.get(), Collections.singleton(), Collections.singletonList(), Arrays.stream() wrappers added

Fixes IDEA-175129 Suggest to wrap a value with `Collections.singleton*()`
2017-08-25 14:33:41 +07:00