mirror of https://github.com/sbt/sbt.git
Adjust to new Contraband
This commit is contained in:
parent
adb23cde89
commit
45ebeb6d32
|
|
@ -10,10 +10,10 @@ final class DebugSessionAddress private (
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
override def equals(o: Any): Boolean = o match {
|
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||||
case x: DebugSessionAddress => (this.uri == x.uri)
|
case x: DebugSessionAddress => (this.uri == x.uri)
|
||||||
case _ => false
|
case _ => false
|
||||||
}
|
})
|
||||||
override def hashCode: Int = {
|
override def hashCode: Int = {
|
||||||
37 * (37 * (17 + "sbt.internal.bsp.DebugSessionAddress".##) + uri.##)
|
37 * (37 * (17 + "sbt.internal.bsp.DebugSessionAddress".##) + uri.##)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -16,10 +16,10 @@ final class DebugSessionParams private (
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
override def equals(o: Any): Boolean = o match {
|
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||||
case x: DebugSessionParams => (this.targets == x.targets) && (this.dataKind == x.dataKind) && (this.data == x.data)
|
case x: DebugSessionParams => (this.targets == x.targets) && (this.dataKind == x.dataKind) && (this.data == x.data)
|
||||||
case _ => false
|
case _ => false
|
||||||
}
|
})
|
||||||
override def hashCode: Int = {
|
override def hashCode: Int = {
|
||||||
37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.DebugSessionParams".##) + targets.##) + dataKind.##) + data.##)
|
37 * (37 * (37 * (37 * (17 + "sbt.internal.bsp.DebugSessionParams".##) + targets.##) + dataKind.##) + data.##)
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue