Skip to content

Commit dca22f4

Browse files
author
Nitsan Wakart
committed
Improve toString methods
1 parent 526a438 commit dca22f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/java/org/apache/cassandra/io/sstable/PartitionDescriptor.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ public void resetPartition()
107107
@Override
108108
public String toString()
109109
{
110-
return "PartitionHeader{ key=" + decoratedKey +
110+
return "PartitionDescriptor{ key=" + decoratedKey +
111111
", position=" + position +
112-
", deletionTime=" + (deletionTime.isLive() ? "LIVE" : deletionTime.toString()) +
112+
", deletionTime=" + deletionTime +
113113
'}';
114114
}
115115
}

src/java/org/apache/cassandra/io/sstable/UnfilteredDescriptor.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public Columns rowColumns()
210210
@Override
211211
public String toString()
212212
{
213-
return "RowHeader{" +
213+
return "UnfilteredDescriptor{" +
214214
"rowLivenessInfo=" + rowLivenessInfo +
215215
", deletionTime=" + deletionTime +
216216
", position=" + position +

0 commit comments

Comments
 (0)