Nicer CFMetaData#toString() output
Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/c489a4e3 Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/c489a4e3 Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/c489a4e3 Branch: refs/heads/cassandra-2.1 Commit: c489a4e37aeb46be7b91f740c22cb4d6feac57f5 Parents: de4ee0b Author: Aleksey Yeschenko <alek...@apache.org> Authored: Sat Aug 23 18:28:05 2014 +0300 Committer: Aleksey Yeschenko <alek...@apache.org> Committed: Sat Aug 23 18:28:05 2014 +0300 ---------------------------------------------------------------------- src/java/org/apache/cassandra/config/CFMetaData.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/c489a4e3/src/java/org/apache/cassandra/config/CFMetaData.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/config/CFMetaData.java b/src/java/org/apache/cassandra/config/CFMetaData.java index aa8bc57..a35357a 100644 --- a/src/java/org/apache/cassandra/config/CFMetaData.java +++ b/src/java/org/apache/cassandra/config/CFMetaData.java @@ -2252,7 +2252,7 @@ public final class CFMetaData .append("keyValidator", keyValidator) .append("minCompactionThreshold", minCompactionThreshold) .append("maxCompactionThreshold", maxCompactionThreshold) - .append("columnMetadata", columnMetadata) + .append("columnMetadata", columnMetadata.values()) .append("compactionStrategyClass", compactionStrategyClass) .append("compactionStrategyOptions", compactionStrategyOptions) .append("compressionParameters", compressionParameters.asThriftOptions()) @@ -2264,7 +2264,7 @@ public final class CFMetaData .append("maxIndexInterval", maxIndexInterval) .append("speculativeRetry", speculativeRetry) .append("droppedColumns", droppedColumns) - .append("triggers", triggers) + .append("triggers", triggers.values()) .append("isDense", isDense) .toString(); }