From 686cfd87e8ef6f884f832bab3fab52a3aaf25be0 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Wed, 23 Jun 2010 13:50:47 +0000 Subject: [PATCH] Use Utils class --- .../java/com/google/gwt/query/client/impl/SelectorEngineJS.java | 2 +- .../com/google/gwt/query/client/impl/SelectorEngineXPath.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineJS.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineJS.java index 2dd040de..9ca1aa1e 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineJS.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineJS.java @@ -315,7 +315,7 @@ public class SelectorEngineJS extends SelectorEngineImpl { ? attributeMatch.getStr(3).replaceAll("\\.", "\\.") : null; String attrVal = attrToRegExp(attributeValue, - (SelectorEngine.or(attributeMatch.getStr(2), null))); + (GQUtils.or(attributeMatch.getStr(2), null))); regExpAttributes[q] = (GQUtils.truth(attrVal) ? new Regexp( attrVal) : null); regExpAttributesStr[q] = attributeMatch.getStr(1); diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineXPath.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineXPath.java index 8a413f77..6cc48dec 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineXPath.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineXPath.java @@ -119,7 +119,7 @@ public class SelectorEngineXPath extends SelectorEngineImpl { } if (truth(splitRule.allAttr)) { xPathExpression += replaceAttr( - SelectorEngine.or(splitRule.allAttr, "")); + GQUtils.or(splitRule.allAttr, "")); } if (truth(splitRule.allPseudos)) { Regexp pseudoSplitRegExp = new Regexp( -- 2.39.5