From: Manolo Carrasco Date: Wed, 8 Feb 2012 11:52:06 +0000 (+0000) Subject: Use GWT.log instead of stdout when initializing selectors X-Git-Tag: release-1.3.2~124 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=6b56b6422bf2ded23ec857f39ddfd102b69ba962;p=gwtquery.git Use GWT.log instead of stdout when initializing selectors --- diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java index 191aab2a..fe793fd9 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java @@ -91,9 +91,9 @@ public class SelectorEngine implements HasSelector { public SelectorEngine() { impl = (SelectorEngineImpl) GWT.create(SelectorEngineImpl.class); - System.out.println("Created SelectorEngineImpl: " + impl.getClass().getName()); + GWT.log("GQuery - Created SelectorEngineImpl: " + impl.getClass().getName()); styleImpl = GWT.create(DocumentStyleImpl.class); - System.out.println("Created DocumentStyleImpl: " + styleImpl.getClass().getName()); + GWT.log("GQuery - Created DocumentStyleImpl: " + styleImpl.getClass().getName()); } public Node getRoot() { diff --git a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java index d7665464..d320fc34 100644 --- a/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java +++ b/gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java @@ -37,7 +37,7 @@ public class SelectorEngineNative extends SelectorEngineImpl { public SelectorEngineNative() { if (impl == null) { impl = GWT.create(HasSelector.class); - System.out.println("Created HasSelector: " + impl.getClass().getName()); + GWT.log("GQuery - Created HasSelector: " + impl.getClass().getName()); } }