Use single line comment in IfElseTransformer

master
Graham 5 years ago
parent e2b2a77fd8
commit 17d9a51669
  1. 4
      deob-ast/src/main/java/dev/openrs2/deob/ast/transform/IfElseTransformer.java

@ -54,9 +54,7 @@ public final class IfElseTransformer extends Transformer {
return;
}
/*
* Prefer fewer NOTs in the if condition.
*/
/* Prefer fewer NOTs in the if condition. */
var notCondition = ExprUtils.not(condition);
if (ExprUtils.countNots(notCondition) < ExprUtils.countNots(condition)) {
stmt.setCondition(notCondition);

Loading…
Cancel
Save