From edfc97709bb5fdebea542cc6d84c4b0a7b4fae70 Mon Sep 17 00:00:00 2001 From: Julien Dramaix Date: Thu, 3 Mar 2011 12:12:39 +0000 Subject: [PATCH] Remove JSArray class --- .../com/google/gwt/query/client/JSArray.java | 47 ------------------- 1 file changed, 47 deletions(-) delete mode 100644 gwtquery-core/src/main/java/com/google/gwt/query/client/JSArray.java diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/JSArray.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/JSArray.java deleted file mode 100644 index 45fec7ad..00000000 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/JSArray.java +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright 2011, The gwtquery team. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.google.gwt.query.client; - -import com.google.gwt.dom.client.Node; -import com.google.gwt.dom.client.NodeList; -import com.google.gwt.query.client.js.JsNodeArray; - -/** - * @deprecated use JsNodeArray - */ -@Deprecated -public final class JSArray extends JsNodeArray { - - protected JSArray() { - } - - public static JSArray create() { - return JsNodeArray.create().cast(); - } - - public static JSArray create(Node node) { - return JsNodeArray.create(node).cast(); - } - - public static JSArray create(NodeList nl) { - JSArray ret = create(); - for(int i=0; i