]> source.dussan.org Git - gwtquery.git/commitdiff
Remove HashMap and HashSet dependencies
authorManolo Carrasco <manolo@apache.org>
Mon, 18 Apr 2011 12:08:31 +0000 (12:08 +0000)
committerManolo Carrasco <manolo@apache.org>
Mon, 18 Apr 2011 12:08:31 +0000 (12:08 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineCssToXPath.java

index 459057b6392f6b65bbb44f95a8320f0f5ddc9bea..5d7c805055c520f2339c673a35dae16c0720bed9 100644 (file)
 package com.google.gwt.query.client.impl;\r
 \r
 import java.util.ArrayList;\r
-import java.util.HashMap;\r
 \r
 import com.google.gwt.core.client.JsArray;\r
 import com.google.gwt.dom.client.Element;\r
 import com.google.gwt.dom.client.Node;\r
 import com.google.gwt.dom.client.NodeList;\r
+import com.google.gwt.query.client.js.JsNamedArray;\r
 import com.google.gwt.query.client.js.JsNodeArray;\r
 import com.google.gwt.query.client.js.JsObjectArray;\r
 import com.google.gwt.query.client.js.JsRegexp;\r
@@ -34,7 +34,7 @@ import com.google.gwt.query.client.js.JsUtils;
  */\r
 public class SelectorEngineCssToXPath extends SelectorEngineImpl {\r
   \r
-  HashMap<String, String> cache = new HashMap<String, String>();\r
+  JsNamedArray<String> cache = JsNamedArray.create();\r
   \r
   /**\r
    * Interface for callbacks in replaceAll operations.\r