Commit Graph

6 Commits

Author SHA1 Message Date
Tagir Valeev
49f4397ba0 [java-intentions] More preview tests
GitOrigin-RevId: 4d6a5487576dbbc4aca9c89b067eec8218aff686
2022-07-29 17:55:15 +00:00
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
Ilyas Selimov
07acc2a679 IDEA-228553 - added negative test on Paths.get
GitOrigin-RevId: 9062c575d25649c9d3a271c2387227e7e578d0a0
2020-05-29 13:33:24 +03:00
Ilyas Selimov
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
Ilyas Selimov
286820138e IDEA-228553 - added intention action to wrap string literal by Path.of
GitOrigin-RevId: a3c3b43e9421375c6cd4e8d1980d7a13ea392167
2020-05-28 07:35:31 +03:00