cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aleksey Yeschenko (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-14378) Simplify TableParams defaults
Date Wed, 11 Apr 2018 18:12:00 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-14378?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16434350#comment-16434350
] 

Aleksey Yeschenko commented on CASSANDRA-14378:
-----------------------------------------------

Code [here|https://github.com/iamaleksey/cassandra/commits/14378-4.0].

> Simplify TableParams defaults
> -----------------------------
>
>                 Key: CASSANDRA-14378
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-14378
>             Project: Cassandra
>          Issue Type: Improvement
>            Reporter: Aleksey Yeschenko
>            Assignee: Aleksey Yeschenko
>            Priority: Trivial
>             Fix For: 4.x
>
>
> There is a block of unnecessary constants - only used once - that only introduce indirection
and make the code harder to read. And almost introduce a static initialization order issue.
We can get rid of that.
> A trivial change.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org


Mime
View raw message