ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [04/46] incubator-ignite git commit: # IGNITE-368 Review.
Date Wed, 18 Mar 2015 04:23:45 GMT
# IGNITE-368 Review.


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

Branch: refs/heads/ignite-496
Commit: 141067acde5e9cfc58e58422a321371780f20797
Parents: aad668c
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Mar 2 20:24:52 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Mar 2 20:24:52 2015 +0700

----------------------------------------------------------------------
 .../ignite/internal/visor/node/VisorNodeLastErrorsTask.java      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/141067ac/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeLastErrorsTask.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeLastErrorsTask.java
b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeLastErrorsTask.java
index 3acd47d..2a5beaa 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeLastErrorsTask.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/visor/node/VisorNodeLastErrorsTask.java
@@ -77,9 +77,9 @@ public class VisorNodeLastErrorsTask extends VisorMultiNodeTask<Map<UUID,
Long>,
 
         /** {@inheritDoc} */
         @Override protected IgniteBiTuple<Long, List<IgniteExceptionRegistry.ExceptionInfo>>
run(Map<UUID, Long> arg) {
-            Long no = arg.get(ignite.localNode().id());
+            Long lastOrder = arg.get(ignite.localNode().id());
 
-            long order = no != null ? no : 0;
+            long order = lastOrder != null ? lastOrder : 0;
 
             List<IgniteExceptionRegistry.ExceptionInfo> errors = ignite.context().exceptionRegistry().getErrors(order);
 


Mime
View raw message