Elffuss BraidHub

kikocis/java-driver public

Merge pull request #470 from datastax/java939

JAVA-939 Add crcCheckChance to Options#equals/hashCode.
Changeset16505233fda0c5a0d4ab8706ab144fe998635a9300992db28eb3e37c02c4ee9d
AuthorOlivier Michallat <olim7t@users.noreply.github.com> · 2015-10-14 22:26 +02:00
CommitterOlivier Michallat <olim7t@users.noreply.github.com> · 2015-10-14 22:26 +02:00
Parents3c741ee68bee, 873ddcd06f8e

Browse the files at this changeset

2 files changed

modified changelog/README.md +1 −0
@@ -10,6 +10,7 @@
1010 - [new feature] Prepare API for async query trace (JAVA-902)
1111 - [new feature] Add BoundStatement#unset (JAVA-930)
1212 - [bug] Make table metadata options class visible (JAVA-946)
13+- [bug] Add crcCheckChance to TableOptionsMetadata#equals/hashCode (JAVA-939)
1314
1415
1516 ### 3.0.0-alpha3
modified driver-core/src/main/java/com/datastax/driver/core/TableOptionsMetadata.java +2 −1
@@ -391,6 +391,7 @@
391391 Objects.equal(this.maxIndexInterval, that.maxIndexInterval) &&
392392 Objects.equal(this.compaction, that.compaction) &&
393393 Objects.equal(this.compression, that.compression) &&
394+ Objects.equal(this.crcCheckChance, that.crcCheckChance) &&
394395 Objects.equal(this.extensions, that.extensions);
395396 }
396397
@@ -398,6 +399,6 @@
398399 public int hashCode() {
399400 return Objects.hashCode(isCompactStorage, comment, readRepair, localReadRepair, replicateOnWrite, gcGrace,
400401 bfFpChance, caching, populateCacheOnFlush, memtableFlushPeriodMs, defaultTTL, speculativeRetry,
401- indexInterval, minIndexInterval, maxIndexInterval, compaction, compression, extensions);
402+ indexInterval, minIndexInterval, maxIndexInterval, compaction, compression, crcCheckChance, extensions);
402403 }
403404 }