From 6b56b6422bf2ded23ec857f39ddfd102b69ba962 Mon Sep 17 00:00:00 2001 From: Manolo Carrasco Date: Wed, 8 Feb 2012 11:52:06 +0000 Subject: [PATCH] Use GWT.log instead of stdout when initializing selectors --- .../java/com/google/gwt/query/client/impl/SelectorEngine.java | 4 ++-- .../google/gwt/query/client/impl/SelectorEngineNative.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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()); } } -- 2.39.5