Sylvain Lebresne created CASSANDRA-7452:
-------------------------------------------
Summary: Fix typo in CFDefinition (regarding static columns)
Key: CASSANDRA-7452
URL: https://issues.apache.org/jira/browse/CASSANDRA-7452
Project: Cassandra
Issue Type: Bug
Reporter: Sylvain Lebresne
Priority: Trivial
As noted on CASSANDRA-7449, there is a typo in CFDefinition:
{noformat}
public Collection<Name> staticColumns()
{
return regularColumns.values();
}
{noformat}
I'll note that this is currently completely inconsequential since this method
is only used by AbstractCassandraStorage, but in a case where there can't be
any static columns (because the CFDefinition uses comes from a
CFMetadata.fromThrift() that can't have them). Not a reason to leave the typo
of course.
--
This message was sent by Atlassian JIRA
(v6.2#6252)