Commit Graph
3 Commits
Author SHA1 Message Date
Tagir Valeevandintellij-monorepo-bot 0f4d8695e9 IDEA-235296 Refactor ensureCodeBlock: AddAssertStatementFix updated
GitOrigin-RevId: e1e2f6021664be235b663876fe6629729fd0a4ef
2020-03-17 20:53:55 +00:00
Tagir Valeevandintellij-monorepo-bot 1bb6f68f9b EnsureCodeBlockImpl: support try splitting; used in AddAssertStatementFix
Fixes IDEA-230023 Applying `Assert != null` in try-with-resources leads to uncompilable code

GitOrigin-RevId: 3dc141010420570c061849287adaeb0fccbcf1f4
2020-01-10 11:37:34 +00:00
Anna Kozlova edf024ca23 ensure assert inserted in correct place (IDEA-123296) 2014-04-02 20:54:10 +02:00