Commit Graph
17 Commits
Author SHA1 Message Date
Roman Shevchenko ccfea79efd [java] "surround with try-with-resources" can't be used on a broken code (IDEA-181271) 2018-01-09 17:19:40 +01:00
Anna.Kozlova d9e6f8d96e surround with closeable: don't include unrelated variables (IDEA-159434) 2017-12-20 18:39:09 +01:00
Anna.Kozlova 7f91247966 surround with auto-closeable: ensure final is restored from existing var
otherwise with generateFinalLocals=true, non-final variables could be made final which leads to red code
2017-12-04 15:14:28 +01:00
Anna.Kozlova 7d71f6f236 preserve comments: surround with auto-closeable 2017-12-04 12:57:44 +01:00
Anna.Kozlova 6d20d8614a preserve comments: surround with auto-closeable 2017-11-27 18:05:19 +01:00
Roman Shevchenko b18b2d9b42 Cleanup (extracts common pattern) 2017-07-12 09:58:34 +02:00
Roman Shevchenko dbd72db8ed [java] adds missing var initializer check (EA-99746) 2017-06-08 16:08:06 +03:00
peter bc13ec6e23 java intentions 1: make files writable outside write action 2016-11-25 08:44:54 +01:00
Roman Shevchenko eedfac90df [java] "Surround with try-with-resources" registered as surround template (IDEA-152348) 2016-03-04 18:49:57 +01:00
Roman Shevchenko 1f6af9e047 [java] "Surround with try-with-resources" template ditched in favor of intention action (IDEA-149130, IDEA-152348) 2016-03-03 10:28:22 +01:00
Roman Shevchenko a13b23e427 Cleanup (utility method used) 2015-06-22 18:06:51 +03:00
Roman Shevchenko f8581b839b EA-45951, EA-58568 (PSI traversal fixed; test added) 2015-06-19 13:44:33 +03:00
Roman Shevchenko e64ea35806 EA-46754 (ensure writable) 2013-06-04 17:50:05 +04:00
Roman Shevchenko a45a48cdac IDEA-103114 ("Surround with try-with-resources" fixed to not lose last declaration element) 2013-03-25 18:30:12 +01:00
Roman Shevchenko eb25a5dda0 IDEA-93289 (count usages; mixed case) 2012-11-04 21:32:10 +01:00
Roman Shevchenko 42eb417800 IDEA-93289 (count usages; simple case) 2012-11-04 21:32:10 +01:00
Roman Shevchenko 668afd0260 IDEA-81171 (Surround AutoCloseable - initial implementation) 2012-02-12 23:50:22 +01:00