cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From slebre...@apache.org
Subject git commit: Fix typo
Date Thu, 14 Jun 2012 06:57:09 GMT
Updated Branches:
  refs/heads/trunk 21aef9290 -> 34498a9fa


Fix typo


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/34498a9f
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/34498a9f
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/34498a9f

Branch: refs/heads/trunk
Commit: 34498a9fa8623588034bf05700a0c434b3352db4
Parents: 21aef92
Author: Sylvain Lebresne <sylvain@datastax.com>
Authored: Thu Jun 14 08:56:50 2012 +0200
Committer: Sylvain Lebresne <sylvain@datastax.com>
Committed: Thu Jun 14 08:57:03 2012 +0200

----------------------------------------------------------------------
 .../apache/cassandra/db/marshal/AbstractType.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/34498a9f/src/java/org/apache/cassandra/db/marshal/AbstractType.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/db/marshal/AbstractType.java b/src/java/org/apache/cassandra/db/marshal/AbstractType.java
index ab7ced3..7eab64c 100644
--- a/src/java/org/apache/cassandra/db/marshal/AbstractType.java
+++ b/src/java/org/apache/cassandra/db/marshal/AbstractType.java
@@ -89,7 +89,7 @@ public abstract class AbstractType<T> implements Comparator<ByteBuffer>
                     {
                         RangeTombstone t1 = (RangeTombstone)c1;
                         RangeTombstone t2 = (RangeTombstone)c2;
-                        int comp2 = AbstractType.this.compare(t1.max, t1.max);
+                        int comp2 = AbstractType.this.compare(t1.max, t2.max);
                         if (comp2 == 0)
                             return t1.data.compareTo(t2.data);
                         else


Mime
View raw message