Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2013-01-11 08:11:44 +0000
committerEike Stepper2013-01-11 08:22:10 +0000
commitaec93bc4f94db091be2c79518f1421d23cefd1aa (patch)
tree69ba5b35c7ecc71cbe8884a23b58f73a2217ec54
parent14d8e7c26ece5eb8938c652c1a40933da93d9506 (diff)
downloadcdo-aec93bc4f94db091be2c79518f1421d23cefd1aa.tar.gz
cdo-aec93bc4f94db091be2c79518f1421d23cefd1aa.tar.xz
cdo-aec93bc4f94db091be2c79518f1421d23cefd1aa.zip
Ease debugging
-rw-r--r--plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/util/CDOCommonUtil.java12
1 files changed, 11 insertions, 1 deletions
diff --git a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/util/CDOCommonUtil.java b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/util/CDOCommonUtil.java
index 3424c26bf8..4eb2b90f41 100644
--- a/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/util/CDOCommonUtil.java
+++ b/plugins/org.eclipse.emf.cdo.common/src/org/eclipse/emf/cdo/common/util/CDOCommonUtil.java
@@ -153,7 +153,17 @@ public final class CDOCommonUtil
t2 = Long.MAX_VALUE;
}
- return t1 < t2 ? -1 : t1 == t2 ? 0 : 1;
+ if (t1 < t2)
+ {
+ return -1;
+ }
+
+ if (t1 > t2)
+ {
+ return 1;
+ }
+
+ return 0;
}
public static String formatTimeStamp()

Back to the top