cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xe...@apache.org
Subject svn commit: r1185907 - in /cassandra/branches/cassandra-0.8: CHANGES.txt src/java/org/apache/cassandra/cli/CliClient.java
Date Tue, 18 Oct 2011 22:27:44 GMT
Author: xedin
Date: Tue Oct 18 22:27:43 2011
New Revision: 1185907

URL: http://svn.apache.org/viewvc?rev=1185907&view=rev
Log:
CLI `describe cluster;` output should be on separate lines for separate versions
patch by Pavel Yaskevich; reviewed by Brandon Williams for CASSANDRA-3170

Modified:
    cassandra/branches/cassandra-0.8/CHANGES.txt
    cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/CliClient.java

Modified: cassandra/branches/cassandra-0.8/CHANGES.txt
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/CHANGES.txt?rev=1185907&r1=1185906&r2=1185907&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/CHANGES.txt (original)
+++ cassandra/branches/cassandra-0.8/CHANGES.txt Tue Oct 18 22:27:43 2011
@@ -19,6 +19,8 @@
  * Fix completely removing column metadata using CLI (CASSANDRA-3126)
  * (CQL) Fix internal application error specifying 'using consistency ...'
    in lower case (CASSANDRA-3366)
+ * CLI `describe cluster;` output should be on separate lines for separate versions
+   (CASSANDRA-3170)
 
 0.8.7
  * Kill server on wrapped OOME such as from FileChannel.map (CASSANDRA-3201)

Modified: cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/CliClient.java
URL: http://svn.apache.org/viewvc/cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/CliClient.java?rev=1185907&r1=1185906&r2=1185907&view=diff
==============================================================================
--- cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/CliClient.java (original)
+++ cassandra/branches/cassandra-0.8/src/java/org/apache/cassandra/cli/CliClient.java Tue
Oct 18 22:27:43 2011
@@ -2041,7 +2041,7 @@ public class CliClient
 
             for (String version : versions.keySet())
             {
-                sessionState.out.println("\t" + version + ": " + versions.get(version));
+                sessionState.out.println(String.format("\t%s: %s%n", version, versions.get(version)));
             }
         }
         catch (Exception e)



Mime
View raw message