New Intention Action: Replace with operator assign
Replaces a statement of the form a = a + b with a statement of the form a += b.
This commit is contained in:
@@ -386,6 +386,7 @@ fun main(args: Array<String>) {
|
||||
model("intentions/convertNegatedExpressionWithDemorgansLaw", testMethod = "doTestConvertNegatedExpressionWithDemorgansLaw")
|
||||
model("intentions/swapBinaryExpression", testMethod = "doTestSwapBinaryExpression")
|
||||
model("intentions/splitIf", testMethod = "doTestSplitIf")
|
||||
model("intentions/replaceWithOperatorAssign", testMethod = "doTestReplaceWithOperatorAssign")
|
||||
}
|
||||
|
||||
testClass(javaClass<AbstractJetInspectionTest>()) {
|
||||
|
||||
Reference in New Issue
Block a user