Skip to content

Commit 76e2268

Browse files
committed
Fix equals check recursive call
1 parent 4134182 commit 76e2268

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ plugins {
88
}
99

1010
group = 'org.strykeforce'
11-
version = '20.1.0'
11+
version = '20.1.1'
1212

1313
sourceCompatibility = JavaVersion.VERSION_11
1414
targetCompatibility = JavaVersion.VERSION_11

src/main/kotlin/org/strykeforce/thirdcoast/telemetry/item/TalonFXItem.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ class TalonFXItem @JvmOverloads constructor(
8787
}
8888

8989
override fun equals(other: Any?): Boolean {
90-
if (this == other) return true
90+
if (this === other) return true
9191
if (javaClass != other?.javaClass) return false
9292
other as TalonFXItem
9393
if (deviceId != other.deviceId) return false

0 commit comments

Comments
 (0)