incubator-cassandra-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Dusbabek <gdusba...@gmail.com>
Subject Re: Refactor for testability: Make class DatabaseDescriptor a real class with member methods, and non-static methods
Date Tue, 26 Jan 2010 12:55:14 GMT
It would certainly make aspects of unit testing simpler.  However, the
codebase treats the values retrieved from DatabaseDescriptor as
constant over the life of the cassandra process.  You should keep that
in mind as you make the refactorings.

Gary

On Tue, Jan 26, 2010 at 01:45, Ran Tavory <rantav@gmail.com> wrote:
> What do you think of this suggestion?
> https://issues.apache.org/jira/browse/CASSANDRA-741
>

Mime
View raw message