Open blacelle opened 9 months ago
If existing, a reference to the rule from the external system :
Please also provide code examples before -> after.
before
after
After:
boolean d = (a && b) || c;", boolean e = (a || b) ? c : d;", int z = (x + y) << 2;";
Before
boolean r = a && b || c;", boolean e = a || b ? c : d;", int z = x + y << 2;";
You want also want to implement a mutator by your self:
eu.solven.cleanthat.engine.java.refactorer.mutators.EmptyControlStatement
eu.solven.cleanthat.engine.java.refactorer.cases.do_not_format_me.EmptyControlStatementCases
eu.solven.cleanthat.engine.java.refactorer.cases.TestEmptyControlStatementCases
If existing, a reference to the rule from the external system :
Please also provide code examples
before
->after
.After:
Before
You want also want to implement a mutator by your self:
eu.solven.cleanthat.engine.java.refactorer.mutators.EmptyControlStatement
as an exampleeu.solven.cleanthat.engine.java.refactorer.cases.do_not_format_me.EmptyControlStatementCases
eu.solven.cleanthat.engine.java.refactorer.cases.TestEmptyControlStatementCases