Elffuss BraidHub

kikocis/java-driver public

JAVA-939 Add crcCheckChance to TableOptionsMetadata#equals/hashCode.
Changeset873ddcd06f8e6070b5d93715a299f5ea1212786d2cd1812d410124563a5f8c69
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2015-10-06 14:29 -05:00
Committerolim7t <omichallat+github@gmail.com> · 2015-10-14 22:25 +02:00
Parents3c741ee68bee

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 }