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 adc6ba2 commit f4eeee4Copy full SHA for f4eeee4
lib/src/main/java/io/cloudquery/types/InetType.java
@@ -20,9 +20,7 @@ public String extensionName() {
20
21
@Override
22
public boolean extensionEquals(ExtensionType other) {
23
- if (!(other instanceof InetType))
24
- return false;
25
- return true;
+ return other instanceof InetType;
26
}
27
28
lib/src/main/java/io/cloudquery/types/JSONType.java
@@ -46,9 +46,6 @@ public int hashCode() {
46
47
48
public boolean equals(Object obj) {
49
- if (!(obj instanceof JSONType)) {
50
51
- }
52
+ return obj instanceof JSONType;
53
54
0 commit comments