Skip to content

Commit 69aff24

Browse files
committed
Fix ValueVarcharIgnoreCase.equals()
1 parent 0ebf142 commit 69aff24

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

h2/src/main/org/h2/value/ValueVarcharIgnoreCase.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,8 @@ public int compareTypeSafe(Value v, CompareMode mode, CastDataProvider provider)
3737

3838
@Override
3939
public boolean equals(Object other) {
40-
return other instanceof ValueVarchar
41-
&& value.equalsIgnoreCase(((ValueVarchar) other).value);
40+
return other instanceof ValueVarcharIgnoreCase
41+
&& value.equalsIgnoreCase(((ValueVarcharIgnoreCase) other).value);
4242
}
4343

4444
@Override

0 commit comments

Comments
 (0)