You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by jo...@apache.org on 2018/12/26 13:29:10 UTC
ignite git commit: IGNITE-10493 Fix exchange local stages comparator
Repository: ignite
Updated Branches:
refs/heads/master 48cb0f176 -> 0431c288d
IGNITE-10493 Fix exchange local stages comparator
Signed-off-by: Pavel Kovalenko <jo...@gmail.com>
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/0431c288
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/0431c288
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/0431c288
Branch: refs/heads/master
Commit: 0431c288d8c6e69c37bd185025cb2d6734052b38
Parents: 48cb0f1
Author: Pavel Kovalenko <jo...@gmail.com>
Authored: Wed Dec 26 16:28:37 2018 +0300
Committer: Pavel Kovalenko <jo...@gmail.com>
Committed: Wed Dec 26 16:28:37 2018 +0300
----------------------------------------------------------------------
.../src/main/java/org/apache/ignite/internal/util/TimeBag.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/0431c288/modules/core/src/main/java/org/apache/ignite/internal/util/TimeBag.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/util/TimeBag.java b/modules/core/src/main/java/org/apache/ignite/internal/util/TimeBag.java
index 0da1ee7..156d826 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/util/TimeBag.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/util/TimeBag.java
@@ -302,9 +302,9 @@ public class TimeBag {
/** {@inheritDoc} */
@Override public int compareTo(@NotNull TimeBag.Stage o) {
- if (o.time > time)
- return -1;
if (o.time < time)
+ return -1;
+ if (o.time > time)
return 1;
return o.description.compareTo(description);
}