You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/06/26 18:37:24 UTC

[jira] [Updated] (CASSANDRA-7452) Fix typo in CFDefinition (regarding static columns)

     [ https://issues.apache.org/jira/browse/CASSANDRA-7452?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sylvain Lebresne updated CASSANDRA-7452:
----------------------------------------

    Attachment: 7452.txt

Trivial fix attached

> 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
>         Attachments: 7452.txt
>
>
> 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)