10 Commits

Author SHA1 Message Date
Andrey.Cherkasov
fb05bfd331 [java-intentions] CreateSwitchIntention: enable on Character, Byte, Short, and Integer
GitOrigin-RevId: 185df516fd2aba29b73b9183a58073eec4d3d118
2022-07-20 05:53:08 +00:00
Tagir Valeev
e4164884f9 [java-intentions] CreateSwitchIntention: turn off on literals (looks useless)
GitOrigin-RevId: 5bf0483766ace26f4d3a485681b28d5f48d5fcd5
2022-07-14 12:17:49 +00:00
Tagir Valeev
1930c6736b CreateSwitchIntention: disable in assignment (while valid, rarely makes sense -- see IDEA-206725) 2019-02-06 11:52:59 +07:00
Tagir Valeev
c09250da45 CommentTracker#replaceAndRestoreComments: try to keep comments after the statement (not move them to the front) 2018-10-08 14:09:24 +07:00
peter
b52aba08d7 CreateSwitchIntention shouldn't throw on malformed strings 2018-07-25 09:02:54 +02:00
Anna.Kozlova
6507c89893 preserve comments for create switch intention 2017-11-22 19:42:58 +01:00
peter
7dd802ccd2 disable "create switch" intention on red code
which otherwise would lead to exceptions in the intention
2017-07-20 09:58:25 +02:00
Dmitry Batkovich
fbd082f075 create switch intention: disable in for update IDEA-173690 2017-06-05 20:06:31 +03:00
Dmitry Batkovich
aba3f2f262 CreateSwitchIntention removed all operations with Document to exclude possible problems 2014-06-04 17:02:53 +04:00
Dmitry Batkovich
6847fc37ad IDEA-119364 (not introduces case statements for enum) 2014-06-03 15:59:48 +04:00