kikocis/java-driver public
Changesets · Branches · Tags · Compare
| Changeset | 16505233fda0c5a0d4ab8706ab144fe998635a9300992db28eb3e37c02c4ee9d |
|---|---|
| Author | Olivier Michallat <olim7t@users.noreply.github.com> · 2015-10-14 22:26 +02:00 |
| Committer | Olivier Michallat <olim7t@users.noreply.github.com> · 2015-10-14 22:26 +02:00 |
| Parents | 3c741ee68bee, 873ddcd06f8e |
2 files changed
modified changelog/README.md +1 −0
| @@ -10,6 +10,7 @@ | ||
| 10 | 10 | - [new feature] Prepare API for async query trace (JAVA-902) |
| 11 | 11 | - [new feature] Add BoundStatement#unset (JAVA-930) |
| 12 | 12 | - [bug] Make table metadata options class visible (JAVA-946) |
| 13 | +- [bug] Add crcCheckChance to TableOptionsMetadata#equals/hashCode (JAVA-939) | |
| 13 | 14 | |
| 14 | 15 | |
| 15 | 16 | ### 3.0.0-alpha3 |
modified driver-core/src/main/java/com/datastax/driver/core/TableOptionsMetadata.java +2 −1
| @@ -391,6 +391,7 @@ | ||
| 391 | 391 | Objects.equal(this.maxIndexInterval, that.maxIndexInterval) && |
| 392 | 392 | Objects.equal(this.compaction, that.compaction) && |
| 393 | 393 | Objects.equal(this.compression, that.compression) && |
| 394 | + Objects.equal(this.crcCheckChance, that.crcCheckChance) && | |
| 394 | 395 | Objects.equal(this.extensions, that.extensions); |
| 395 | 396 | } |
| 396 | 397 | |
| @@ -398,6 +399,6 @@ | ||
| 398 | 399 | public int hashCode() { |
| 399 | 400 | return Objects.hashCode(isCompactStorage, comment, readRepair, localReadRepair, replicateOnWrite, gcGrace, |
| 400 | 401 | bfFpChance, caching, populateCacheOnFlush, memtableFlushPeriodMs, defaultTTL, speculativeRetry, |
| 401 | - indexInterval, minIndexInterval, maxIndexInterval, compaction, compression, extensions); | |
| 402 | + indexInterval, minIndexInterval, maxIndexInterval, compaction, compression, crcCheckChance, extensions); | |
| 402 | 403 | } |
| 403 | 404 | } |