Commit Graph

3 Commits

Author SHA1 Message Date
Tagir Valeev
c81981ee75 [java-intentions] Rename 'Wrap using' fixes with 'Adapt using'.
Not everything is actually wrapping. E.g., converting 'long' to 'int' via 'Math.toIntExact' is definitely not wrapping. The 'adapt' word looks more abstract and suitable for all the cases.

GitOrigin-RevId: 33e56b6e16a0362598ac8e3fc92ef2808a77dbe0
2022-04-06 15:56:09 +00:00
Bas Leijdekkers
223eeb0b0f WrapWithAdapterMethodCallFix: wrap with List.of() instead of Arrays.asList() on Java 9 and higher (IDEA-269380)
GitOrigin-RevId: f39f5c58348afb6b3c57dbc059860f940c6ec363
2021-05-19 10:44:07 +00:00
Tagir Valeev
8e9216b907 Fix IDEA-178248 WrapWithAdapterMethodCallFix exception on unresolved code 2017-08-30 16:38:53 +07:00