From fafd4ef8057c3fc8ca236be9db8821ec51e2982c Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov Date: Tue, 31 Mar 2015 14:52:28 +0300 Subject: [PATCH] Minor in JS: deleted unused function --- .../src/com/google/dart/compiler/util/AstUtil.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/js/js.dart-ast/src/com/google/dart/compiler/util/AstUtil.java b/js/js.dart-ast/src/com/google/dart/compiler/util/AstUtil.java index b1e31056eaa..f5935d59343 100644 --- a/js/js.dart-ast/src/com/google/dart/compiler/util/AstUtil.java +++ b/js/js.dart-ast/src/com/google/dart/compiler/util/AstUtil.java @@ -52,12 +52,4 @@ public final class AstUtil { return nodesCopy; } - - @NotNull - public static JsFunctionScope toFunctionScope(JsScope scope) { - assert scope instanceof JsFunctionScope: "JsFunctionScope type is expected, but " - + scope.getClass().getSimpleName() + " is found"; - - return (JsFunctionScope) scope; - } }