KT-4562 New Intention: Add and Remove braces from control statements that have single line bodies

This commit is contained in:
gavinkeusch
2014-03-05 16:59:14 -08:00
committed by Evgeny Gerashchenko
parent b6a9772508
commit 2f613638c2
49 changed files with 523 additions and 2 deletions
@@ -372,6 +372,8 @@ fun main(args: Array<String>) {
model("intentions/moveLambdaOutsideParentheses", testMethod = "doTestMoveLambdaOutsideParentheses")
model("intentions/replaceExplicitFunctionLiteralParamWithIt", testMethod = "doTestReplaceExplicitFunctionLiteralParamWithIt")
model("intentions/replaceItWithExplicitFunctionLiteralParam", testMethod = "doTestReplaceItWithExplicitFunctionLiteralParam")
model("intentions/removeBraces", testMethod = "doTestRemoveBraces")
model("intentions/addBraces", testMethod = "doTestAddBraces")
}
testClass(javaClass<AbstractHierarchyTest>()) {