From 3d15b5d83207b7c394190e3fdbb78203297af729 Mon Sep 17 00:00:00 2001 From: develar Date: Sun, 30 Sep 2012 15:06:00 +0400 Subject: [PATCH] remove unused method --- src/com/google/dart/compiler/util/AstUtil.java | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/com/google/dart/compiler/util/AstUtil.java b/src/com/google/dart/compiler/util/AstUtil.java index d2abe9123d6..0be554fb7af 100644 --- a/src/com/google/dart/compiler/util/AstUtil.java +++ b/src/com/google/dart/compiler/util/AstUtil.java @@ -13,23 +13,6 @@ public final class AstUtil { private AstUtil() { } - public static JsNameRef newQualifiedNameRef(String name) { - JsNameRef node = null; - int endPos; - int startPos = 0; - do { - endPos = name.indexOf('.', startPos); - String part = (endPos == -1 - ? name.substring(startPos) - : name.substring(startPos, endPos)); - node = new JsNameRef(part, node); - startPos = endPos + 1; - } - while (endPos != -1); - - return node; - } - /** * Returns a sequence of expressions (using the binary sequence operator). *