diff --git a/src/main/java/com/google/cloud/solutions/spannerddl/parser/ASTcreate_search_index_statement.java b/src/main/java/com/google/cloud/solutions/spannerddl/parser/ASTcreate_search_index_statement.java index 8e10e35..24ce51b 100644 --- a/src/main/java/com/google/cloud/solutions/spannerddl/parser/ASTcreate_search_index_statement.java +++ b/src/main/java/com/google/cloud/solutions/spannerddl/parser/ASTcreate_search_index_statement.java @@ -99,7 +99,7 @@ public int compareTo(ASTcreate_search_index_statement other) { @Override public boolean equals(Object other) { - if (other instanceof ASTcreate_index_statement) { + if (other instanceof ASTcreate_search_index_statement) { return this.toString().equals(other.toString()); } return false;