Remove use of deprecated getChildNodesByType method

bzip2
Graham 5 years ago
parent 828b130906
commit 4e3c5f3d4d
  1. 6
      deob-ast/src/main/java/dev/openrs2/deob/ast/util/ExprUtils.java

@ -80,8 +80,10 @@ public final class ExprUtils {
count++; count++;
} }
for (Expression child : expr.getChildNodesByType(Expression.class)) { for (Expression child : expr.findAll(Expression.class)) {
count += countNots(child); if (child != expr) {
count += countNots(child);
}
} }
return count; return count;

Loading…
Cancel
Save