We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c8e34c commit be3616bCopy full SHA for be3616b
lib/src/main/java/io/cloudquery/scalar/Binary.java
@@ -49,19 +49,10 @@ public void setValue(Object value) throws ValidationException {
49
50
@Override
51
public boolean equals(Object other) {
52
- if (!(other instanceof Binary o)) {
53
- return false;
+ if (other instanceof Binary o) {
+ return Arrays.equals(this.value, o.value);
54
}
55
-
56
- if (!o.getClass().equals(this.getClass())) {
57
58
- }
59
60
- if (this.value == null) {
61
- return o.value == null;
62
63
64
- return Arrays.equals(this.value, o.value);
+ return false;
65
66
67
public static class LargeBinary extends Binary {
0 commit comments