cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jbel...@apache.org
Subject [10/21] git commit: clean up toString
Date Wed, 11 Apr 2012 18:26:43 GMT
clean up toString


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

Branch: refs/heads/cassandra-1.1.0
Commit: a3fe297510acdaefbb40b0a91aaf8c38843f9a8b
Parents: 7321adf
Author: Jonathan Ellis <jbellis@apache.org>
Authored: Tue Apr 10 16:03:43 2012 -0500
Committer: Jonathan Ellis <jbellis@apache.org>
Committed: Wed Apr 11 13:24:34 2012 -0500

----------------------------------------------------------------------
 .../apache/cassandra/hadoop/ColumnFamilySplit.java |    9 ++++-----
 1 files changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/a3fe2975/src/java/org/apache/cassandra/hadoop/ColumnFamilySplit.java
----------------------------------------------------------------------
diff --git a/src/java/org/apache/cassandra/hadoop/ColumnFamilySplit.java b/src/java/org/apache/cassandra/hadoop/ColumnFamilySplit.java
index 71a1c34..bd2e487 100644
--- a/src/java/org/apache/cassandra/hadoop/ColumnFamilySplit.java
+++ b/src/java/org/apache/cassandra/hadoop/ColumnFamilySplit.java
@@ -100,11 +100,10 @@ public class ColumnFamilySplit extends InputSplit implements Writable,
org.apach
     @Override
     public String toString()
     {
-        return "ColumnFamilySplit{" +
-               "startToken='" + startToken + '\'' +
-               ", endToken='" + endToken + '\'' +
-               ", dataNodes=" + (dataNodes == null ? null : Arrays.asList(dataNodes)) +
-               '}';
+        return "ColumnFamilySplit(" +
+               "(" + startToken
+               + ", '" + endToken + ']'
+               + " @" + (dataNodes == null ? null : Arrays.asList(dataNodes)) + ')';
     }
 
     public static ColumnFamilySplit read(DataInput in) throws IOException


Mime
View raw message