Skip to content

Commit 85efee4

Browse files
authored
JAVA-2992 include options into DefaultTableMetadata equals and hash methods (#1588)
1 parent 415f789 commit 85efee4

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

core/src/main/java/com/datastax/oss/driver/internal/core/metadata/schema/DefaultTableMetadata.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,8 @@ public boolean equals(Object other) {
142142
&& Objects.equals(this.partitionKey, that.getPartitionKey())
143143
&& Objects.equals(this.clusteringColumns, that.getClusteringColumns())
144144
&& Objects.equals(this.columns, that.getColumns())
145-
&& Objects.equals(this.indexes, that.getIndexes());
145+
&& Objects.equals(this.indexes, that.getIndexes())
146+
&& Objects.equals(this.options, that.getOptions());
146147
} else {
147148
return false;
148149
}
@@ -159,7 +160,8 @@ public int hashCode() {
159160
partitionKey,
160161
clusteringColumns,
161162
columns,
162-
indexes);
163+
indexes,
164+
options);
163165
}
164166

165167
@Override

0 commit comments

Comments
 (0)