ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [26/50] [abbrv] incubator-ignite git commit: # sprint-45 more info in assert
Date Mon, 23 Mar 2015 15:38:34 GMT
# sprint-45 more info in assert


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

Branch: refs/heads/ignite-45-gridcache
Commit: 4ef189ea7d5afb335d58512326fe0eddf33e2fd8
Parents: 48cc689
Author: sboikov <sboikov@gridgain.com>
Authored: Mon Mar 23 15:26:31 2015 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Mon Mar 23 15:26:31 2015 +0300

----------------------------------------------------------------------
 .../ignite/spi/discovery/tcp/internal/TcpDiscoveryStatistics.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/4ef189ea/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryStatistics.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryStatistics.java
b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryStatistics.java
index 1a09b3f..da8c4ea 100644
--- a/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryStatistics.java
+++ b/modules/core/src/main/java/org/apache/ignite/spi/discovery/tcp/internal/TcpDiscoveryStatistics.java
@@ -295,7 +295,7 @@ public class TcpDiscoveryStatistics {
      */
     public synchronized void onMessageSent(TcpDiscoveryAbstractMessage msg, long time) {
         assert msg != null;
-        assert time >= 0;
+        assert time >= 0 : time;
 
         if (crdSinceTs.get() > 0 &&
             (msg instanceof TcpDiscoveryNodeAddedMessage) ||


Mime
View raw message