From 2ccc027ba517f7981ca4f1582b56869a73cbde09 Mon Sep 17 00:00:00 2001 From: Zalim Bashorov Date: Thu, 4 Dec 2014 20:34:47 +0300 Subject: [PATCH] Minor in JS AST: drop unused constructors from JsBinaryOperation, JsUnaryOperation, JsPrefixOperation and JsPostfixOperation. --- .../dart/compiler/backend/js/ast/JsBinaryOperation.java | 4 ---- .../dart/compiler/backend/js/ast/JsPostfixOperation.java | 4 ---- .../dart/compiler/backend/js/ast/JsPrefixOperation.java | 4 ---- .../google/dart/compiler/backend/js/ast/JsUnaryOperation.java | 4 ---- 4 files changed, 16 deletions(-) diff --git a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsBinaryOperation.java b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsBinaryOperation.java index 20ad822f6b7..5594d30c2aa 100644 --- a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsBinaryOperation.java +++ b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsBinaryOperation.java @@ -15,10 +15,6 @@ public final class JsBinaryOperation extends JsExpressionImpl { @NotNull private final JsBinaryOperator op; - public JsBinaryOperation(@NotNull JsBinaryOperator op) { - this(op, null, null); - } - public JsBinaryOperation(@NotNull JsBinaryOperator op, @Nullable JsExpression arg1, @Nullable JsExpression arg2) { this.op = op; this.arg1 = arg1; diff --git a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsPostfixOperation.java b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsPostfixOperation.java index b7d866b971b..03ade21976a 100644 --- a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsPostfixOperation.java +++ b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsPostfixOperation.java @@ -8,10 +8,6 @@ import com.google.dart.compiler.util.AstUtil; import org.jetbrains.annotations.NotNull; public final class JsPostfixOperation extends JsUnaryOperation { - public JsPostfixOperation(JsUnaryOperator op) { - this(op, null); - } - public JsPostfixOperation(JsUnaryOperator op, JsExpression arg) { super(op, arg); } diff --git a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsPrefixOperation.java b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsPrefixOperation.java index 1378c756e6a..80863cbf4f6 100644 --- a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsPrefixOperation.java +++ b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsPrefixOperation.java @@ -8,10 +8,6 @@ import com.google.dart.compiler.util.AstUtil; import org.jetbrains.annotations.NotNull; public final class JsPrefixOperation extends JsUnaryOperation { - public JsPrefixOperation(JsUnaryOperator op) { - this(op, null); - } - public JsPrefixOperation(JsUnaryOperator op, JsExpression arg) { super(op, arg); } diff --git a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsUnaryOperation.java b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsUnaryOperation.java index d5d4d971734..82cd1743515 100644 --- a/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsUnaryOperation.java +++ b/js/js.dart-ast/src/com/google/dart/compiler/backend/js/ast/JsUnaryOperation.java @@ -10,10 +10,6 @@ public abstract class JsUnaryOperation extends JsExpressionImpl { private final JsUnaryOperator op; - public JsUnaryOperation(JsUnaryOperator op) { - this(op, null); - } - public JsUnaryOperation(JsUnaryOperator op, JsExpression arg) { super(); this.op = op;