From e2b2a77fd8e862d1de8d2c8c7554a0041fbc06fe Mon Sep 17 00:00:00 2001 From: Graham Date: Sun, 25 Aug 2019 17:00:24 +0100 Subject: [PATCH] Remove unused isNot() method --- .../src/main/java/dev/openrs2/deob/ast/util/ExprUtils.java | 4 ---- 1 file changed, 4 deletions(-) diff --git a/deob-ast/src/main/java/dev/openrs2/deob/ast/util/ExprUtils.java b/deob-ast/src/main/java/dev/openrs2/deob/ast/util/ExprUtils.java index 74d94f46d8..e503eba71d 100644 --- a/deob-ast/src/main/java/dev/openrs2/deob/ast/util/ExprUtils.java +++ b/deob-ast/src/main/java/dev/openrs2/deob/ast/util/ExprUtils.java @@ -16,10 +16,6 @@ public final class ExprUtils { return new LongLiteralExpr(Long.toString(value).concat("L")); } - public static boolean isNot(Expression expr) { - return expr.isUnaryExpr() && expr.asUnaryExpr().getOperator() == UnaryExpr.Operator.LOGICAL_COMPLEMENT; - } - public static Expression negate(Expression expr) { if (expr.isUnaryExpr() && expr.asUnaryExpr().getOperator() == UnaryExpr.Operator.MINUS) { return expr.asUnaryExpr().getExpression().clone();