]> source.dussan.org Git - gwtquery.git/commitdiff
Use GWT.log instead of stdout when initializing selectors
authorManolo Carrasco <manolo@apache.org>
Wed, 8 Feb 2012 11:52:06 +0000 (11:52 +0000)
committerManolo Carrasco <manolo@apache.org>
Wed, 8 Feb 2012 11:52:06 +0000 (11:52 +0000)
gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngine.java
gwtquery-core/src/main/java/com/google/gwt/query/client/impl/SelectorEngineNative.java

index 191aab2a14caf8fb066701b341b4c91d93003979..fe793fd9c1673dcaf103c934dc0786c075918f10 100644 (file)
@@ -91,9 +91,9 @@ public class SelectorEngine implements HasSelector {
 \r
   public SelectorEngine() {\r
     impl = (SelectorEngineImpl) GWT.create(SelectorEngineImpl.class);\r
-    System.out.println("Created SelectorEngineImpl: " + impl.getClass().getName());\r
+    GWT.log("GQuery - Created SelectorEngineImpl: " + impl.getClass().getName());\r
     styleImpl = GWT.create(DocumentStyleImpl.class);\r
-    System.out.println("Created DocumentStyleImpl: " + styleImpl.getClass().getName());\r
+    GWT.log("GQuery - Created DocumentStyleImpl: " + styleImpl.getClass().getName());\r
   }\r
 \r
   public Node getRoot() {\r
index d76654644bf61c7869501e13c8aa7ffa485bb504..d320fc34d83e4618ebbe920d0eb81243d4018861 100644 (file)
@@ -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());
     }
   }