Community
Participate
Working Groups
Observed in Enide 2015, based on Eclipse 4.5.0 with org.eclipse.wst.jsdt.feature_1.6.200.v201505071819: Inverting the following 'if' statement: if (x) doSomething(); else doSomethingElse(); results in: if (x) doSomethingElse(); else doSomething(); The 'if' condition remains unchanged; it should be refactored to: if (!x) ...