[ https://issues.apache.org/jira/browse/CASSANDRA-13653?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16071913#comment-16071913 ]
Dave Brosius commented on CASSANDRA-13653: ------------------------------------------ imo, @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE); } can be added as a snippet in your favorite IDE, and you can blow thru lots of classes, quickly. And does a pretty good job. > Create meaningful toString() methods > ------------------------------------ > > Key: CASSANDRA-13653 > URL: https://issues.apache.org/jira/browse/CASSANDRA-13653 > Project: Cassandra > Issue Type: Bug > Reporter: Jeff Jirsa > Priority: Trivial > Labels: lhf, low-hanging-fruit > > True low-hanging fruit, good for a first-time contributor: > There are a lot of classes without meaningful {{toString()}} implementations. > Some of these would be very nice to have for investigating bug reports. > Some good places to start: > - CQL3 statements (UpdateStatement, DeleteStatement, etc), QueryOptions, and > Restrictions > Some packages not to worry about: > - Deep internals that don't already have them > (org.apache.cassandra.db.rows/partitions/etc) -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org