File tree Expand file tree Collapse file tree 4 files changed +22
-6
lines changed
src/main/kotlin/spp/protocol/instrument Expand file tree Collapse file tree 4 files changed +22
-6
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,10 @@ data class LiveBreakpoint(
7373 /* *
7474 * Specify explicitly so Kotlin doesn't override.
7575 */
76- override fun hashCode (): Int {
77- return super .hashCode()
78- }
76+ override fun equals (other : Any? ): Boolean = super .equals(other)
77+
78+ /* *
79+ * Specify explicitly so Kotlin doesn't override.
80+ */
81+ override fun hashCode (): Int = super .hashCode()
7982}
Original file line number Diff line number Diff line change @@ -80,7 +80,10 @@ data class LiveLog(
8080 /* *
8181 * Specify explicitly so Kotlin doesn't override.
8282 */
83- override fun hashCode (): Int {
84- return super .hashCode()
85- }
83+ override fun equals (other : Any? ): Boolean = super .equals(other)
84+
85+ /* *
86+ * Specify explicitly so Kotlin doesn't override.
87+ */
88+ override fun hashCode (): Int = super .hashCode()
8689}
Original file line number Diff line number Diff line change @@ -85,6 +85,11 @@ data class LiveMeter(
8585
8686 fun toMetricId (): String = " spp_" + toMetricIdWithoutPrefix()
8787
88+ /* *
89+ * Specify explicitly so Kotlin doesn't override.
90+ */
91+ override fun equals (other : Any? ): Boolean = super .equals(other)
92+
8893 /* *
8994 * Specify explicitly so Kotlin doesn't override.
9095 */
Original file line number Diff line number Diff line change @@ -72,6 +72,11 @@ data class LiveSpan(
7272 return json
7373 }
7474
75+ /* *
76+ * Specify explicitly so Kotlin doesn't override.
77+ */
78+ override fun equals (other : Any? ): Boolean = super .equals(other)
79+
7580 /* *
7681 * Specify explicitly so Kotlin doesn't override.
7782 */
You can’t perform that action at this time.
0 commit comments