]> source.dussan.org Git - gwtquery.git/commitdiff
Use Utils class
authorManolo Carrasco <manolo@apache.org>
Wed, 23 Jun 2010 13:50:47 +0000 (13:50 +0000)
committerManolo Carrasco <manolo@apache.org>
Wed, 23 Jun 2010 13:50:47 +0000 (13:50 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineJS.java
gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineXPath.java

index 2dd040de2d780d084cdca403076ca004627bd1aa..9ca1aa1e9f029b23dae3a16814ac8c39c98fa03c 100644 (file)
@@ -315,7 +315,7 @@ public class SelectorEngineJS extends SelectorEngineImpl {
                       ? attributeMatch.getStr(3).replaceAll("\\.", "\\.")\r
                       : null;\r
               String attrVal = attrToRegExp(attributeValue,\r
-                  (SelectorEngine.or(attributeMatch.getStr(2), null)));\r
+                  (GQUtils.or(attributeMatch.getStr(2), null)));\r
               regExpAttributes[q] = (GQUtils.truth(attrVal) ? new Regexp(\r
                   attrVal) : null);\r
               regExpAttributesStr[q] = attributeMatch.getStr(1);\r
index 8a413f7771285d21bf0e78fe6d3558e0c9e3b09d..6cc48dec4eafedceacc083fa5ce005be7942adba 100644 (file)
@@ -119,7 +119,7 @@ public class SelectorEngineXPath extends SelectorEngineImpl {
         }\r
         if (truth(splitRule.allAttr)) {\r
           xPathExpression += replaceAttr(\r
-              SelectorEngine.or(splitRule.allAttr, ""));\r
+              GQUtils.or(splitRule.allAttr, ""));\r
         }\r
         if (truth(splitRule.allPseudos)) {\r
           Regexp pseudoSplitRegExp = new Regexp(\r