Repository: cassandra Updated Branches: refs/heads/trunk a831b99f9 -> 60563f4e8
Ninja reorder static constants in TableParams to avoid uninitialized speculativeRetry (hypothetical) Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/60563f4e Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/60563f4e Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/60563f4e Branch: refs/heads/trunk Commit: 60563f4e8910fb59af141fd24f1fc1f98f34f705 Parents: a831b99 Author: Aleksey Yeshchenko <alek...@apple.com> Authored: Wed Apr 11 18:51:18 2018 +0100 Committer: Aleksey Yeshchenko <alek...@apple.com> Committed: Wed Apr 11 18:51:18 2018 +0100 ---------------------------------------------------------------------- src/java/org/apache/cassandra/schema/TableParams.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cassandra/blob/60563f4e/src/java/org/apache/cassandra/schema/TableParams.java ---------------------------------------------------------------------- diff --git a/src/java/org/apache/cassandra/schema/TableParams.java b/src/java/org/apache/cassandra/schema/TableParams.java index 895e3a7..1489c81 100644 --- a/src/java/org/apache/cassandra/schema/TableParams.java +++ b/src/java/org/apache/cassandra/schema/TableParams.java @@ -34,8 +34,6 @@ import static java.lang.String.format; public final class TableParams { - public static final TableParams DEFAULT = TableParams.builder().build(); - public enum Option { BLOOM_FILTER_FP_CHANCE, @@ -73,6 +71,8 @@ public final class TableParams public static final double DEFAULT_CRC_CHECK_CHANCE = 1.0; public static final SpeculativeRetryPolicy DEFAULT_SPECULATIVE_RETRY = new PercentileSpeculativeRetryPolicy(99.0); + public static final TableParams DEFAULT = TableParams.builder().build(); + public final String comment; public final double readRepairChance; public final double dcLocalReadRepairChance; --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org For additional commands, e-mail: commits-h...@cassandra.apache.org