ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject incubator-ignite git commit: # ignite-update-notifier
Date Thu, 25 Jun 2015 16:31:43 GMT
Repository: incubator-ignite
Updated Branches:
  refs/heads/ignite-update-notifier f42559f6c -> e00538322


# ignite-update-notifier


Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/e0053832
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/e0053832
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/e0053832

Branch: refs/heads/ignite-update-notifier
Commit: e00538322eadf8d0678ea06210d4fcfc83d27742
Parents: f42559f
Author: ashutak <ashutak@gridgain.com>
Authored: Thu Jun 25 19:32:06 2015 +0300
Committer: ashutak <ashutak@gridgain.com>
Committed: Thu Jun 25 19:32:06 2015 +0300

----------------------------------------------------------------------
 .../ignite/internal/GridUpdateNotifier.java     | 22 ++++++++++----------
 1 file changed, 11 insertions(+), 11 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/e0053832/modules/core/src/main/java/org/apache/ignite/internal/GridUpdateNotifier.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/GridUpdateNotifier.java
b/modules/core/src/main/java/org/apache/ignite/internal/GridUpdateNotifier.java
index ce1c4ab..9538000 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/GridUpdateNotifier.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/GridUpdateNotifier.java
@@ -202,7 +202,8 @@ class GridUpdateNotifier {
      * @param log Logger.
      */
     void reportStatus(IgniteLogger log) {
-        X.printerrln(">>>>> reportStatus");
+        U.dumpStack(log, ">>>>> reportStatus");
+        U.dumpStack(log, ">>>>> reportStatus");
 
         assert log != null;
 
@@ -213,8 +214,8 @@ class GridUpdateNotifier {
         U.cancel(checker);
 
         String latestVer = this.latestVer;
-        X.printerrln(">>>>> ver=" + latestVer);
-        X.printerrln(">>>>> ver=" + reportOnlyNew);
+        U.dumpStack(log, ">>>>> ver=" + latestVer);
+        U.dumpStack(log, ">>>>> ver=" + reportOnlyNew);
 
         String downloadUrl = this.downloadUrl;
 
@@ -281,8 +282,7 @@ class GridUpdateNotifier {
 
         /** {@inheritDoc} */
         @Override protected void body() throws InterruptedException {
-            X.printerrln();
-            X.printerrln(">>>>> body");
+            U.dumpStack(log, ">>>>> body");
             try {
                 String stackTrace = gw != null ? gw.userStackTrace() : null;
 
@@ -299,13 +299,13 @@ class GridUpdateNotifier {
                     (!F.isEmpty(vmProps) ? "&vmProps=" + encode(vmProps, CHARSET) : "")
+
                     plugins.toString();
 
-                X.printerrln(">>>>> postParams=" + postParams);
+                U.dumpStack(log, ">>>>> postParams=" + postParams);
 
                 URLConnection conn = new URL(url).openConnection();
 
-                X.printerrln(">>>>> url=" + url);
+                U.dumpStack(log, ">>>>> url=" + url);
 
-                X.printerrln(">>>>> isCancelled()=" + isCancelled());
+                U.dumpStack(log, ">>>>> isCancelled()=" + isCancelled());
 
                 if (!isCancelled()) {
                     conn.setDoOutput(true);
@@ -339,7 +339,7 @@ class GridUpdateNotifier {
                                 xml.append(line).append('\n');
                             }
 
-                            X.printerrln(">>>>> xml=" + xml);
+                            U.dumpStack(log, ">>>>> xml=" + xml);
 
                             dom = documentBuilder.parse(new ByteArrayInputStream(xml.toString().getBytes(CHARSET)));
                         }
@@ -352,7 +352,7 @@ class GridUpdateNotifier {
                     if (dom != null) {
                         latestVer = obtainVersionFrom(dom);
 
-                        X.printerrln(">>>>> lastVer=" + latestVer);
+                        U.dumpStack(log, ">>>>> lastVer=" + latestVer);
 
                         downloadUrl = obtainDownloadUrlFrom(dom);
                     }
@@ -405,7 +405,7 @@ class GridUpdateNotifier {
          * @return Version or {@code null} if one's not found.
          */
         @Nullable private String obtainVersionFrom(Node node) {
-            X.printerrln(">>>>> obtainVersionFrom");
+            U.dumpStack(log, ">>>>> obtainVersionFrom");
 
             return obtainMeta("version", node);
         }


Mime
View raw message