mirror of https://github.com/sbt/sbt.git
[2.0.x] Contraband 0.9.0
This commit is contained in:
parent
fc4273d0d1
commit
82bb44d543
|
|
@ -11,13 +11,6 @@ abstract class AbstractEntry(
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: AbstractEntry => (this.channelName == x.channelName) && (this.execId == x.execId)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (37 * (17 + "sbt.internal.util.AbstractEntry".##) + channelName.##) + execId.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"AbstractEntry(" + channelName + ", " + execId + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -19,13 +19,6 @@ abstract class MavenRepository(
|
|||
def this(name: String, root: String) = this(name, root, true)
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: MavenRepository => (this.name == x.name) && (this.root == x.root) && (this.localIfFile == x.localIfFile)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (37 * (37 * (17 + "sbt.librarymanagement.MavenRepository".##) + name.##) + root.##) + localIfFile.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"MavenRepository(" + name + ", " + root + ", " + localIfFile + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,13 +11,6 @@ abstract class ModuleSettings(
|
|||
def this() = this(false, None)
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: ModuleSettings => (this.validate == x.validate) && (this.scalaModuleInfo == x.scalaModuleInfo)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (37 * (17 + "sbt.librarymanagement.ModuleSettings".##) + validate.##) + scalaModuleInfo.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"ModuleSettings(" + validate + ", " + scalaModuleInfo + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,13 +12,6 @@ abstract class PatternsBasedRepository(
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: PatternsBasedRepository => (this.name == x.name) && (this.patterns == x.patterns)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (37 * (17 + "sbt.librarymanagement.PatternsBasedRepository".##) + name.##) + patterns.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"PatternsBasedRepository(" + name + ", " + patterns + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,13 +11,6 @@ abstract class Resolver(
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: Resolver => (this.name == x.name)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (17 + "sbt.librarymanagement.Resolver".##) + name.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"Resolver(" + name + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,13 +9,6 @@ abstract class SshAuthentication() extends Serializable {
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case _: SshAuthentication => true
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (17 + "sbt.librarymanagement.SshAuthentication".##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"SshAuthentication()"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,13 +13,6 @@ abstract class SshBasedRepository(
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: SshBasedRepository => (this.name == x.name) && (this.patterns == x.patterns) && (this.connection == x.connection)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (37 * (37 * (17 + "sbt.librarymanagement.SshBasedRepository".##) + name.##) + patterns.##) + connection.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"SshBasedRepository(" + name + ", " + patterns + ", " + connection + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,13 +12,6 @@ abstract class IvyConfiguration(
|
|||
def this() = this(None, None, sbt.internal.librarymanagement.ivy.UpdateOptions())
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: IvyConfiguration => (this.lock == x.lock) && (this.log == x.log) && (this.updateOptions == x.updateOptions)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (37 * (37 * (17 + "sbt.internal.librarymanagement.ivy.IvyConfiguration".##) + lock.##) + log.##) + updateOptions.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"IvyConfiguration(" + lock + ", " + log + ", " + updateOptions + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,13 +11,6 @@ abstract class RemoteCacheArtifact(
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: RemoteCacheArtifact => (this.artifact == x.artifact) && (this.packaged == x.packaged)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (37 * (17 + "sbt.internal.remotecache.RemoteCacheArtifact".##) + artifact.##) + packaged.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"RemoteCacheArtifact(" + artifact + ", " + packaged + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,8 +3,8 @@ scalacOptions ++= Seq("-feature", "-language:postfixOps", "-Ywarn-unused:_,-impo
|
|||
|
||||
addSbtPlugin("com.github.sbt" % "sbt-dynver" % "5.1.1")
|
||||
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1")
|
||||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.6")
|
||||
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.8.0")
|
||||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.6.0")
|
||||
addSbtPlugin("org.scala-sbt" % "sbt-contraband" % "0.9.0")
|
||||
addSbtPlugin("com.github.sbt" % "sbt-header" % "5.11.0")
|
||||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.1")
|
||||
addSbtPlugin("com.typesafe" % "sbt-mima-plugin" % "1.1.5")
|
||||
|
|
|
|||
|
|
@ -12,13 +12,6 @@ abstract class TextDocumentPositionParamsInterface(
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: TextDocumentPositionParamsInterface => (this.textDocument == x.textDocument) && (this.position == x.position)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (37 * (17 + "sbt.internal.langserver.TextDocumentPositionParamsInterface".##) + textDocument.##) + position.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"TextDocumentPositionParamsInterface(" + textDocument + ", " + position + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -11,13 +11,6 @@ abstract class JsonRpcMessage(
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case x: JsonRpcMessage => (this.jsonrpc == x.jsonrpc)
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (37 * (17 + "sbt.internal.protocol.JsonRpcMessage".##) + jsonrpc.##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"JsonRpcMessage(" + jsonrpc + ")"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,6 @@ abstract class CommandMessage() extends Serializable {
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case _: CommandMessage => true
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (17 + "sbt.protocol.CommandMessage".##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"CommandMessage()"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,6 @@ abstract class EventMessage() extends Serializable {
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case _: EventMessage => true
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (17 + "sbt.protocol.EventMessage".##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"EventMessage()"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -9,13 +9,6 @@ abstract class SettingQueryResponse() extends sbt.protocol.EventMessage() with S
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case _: SettingQueryResponse => true
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (17 + "sbt.protocol.SettingQueryResponse".##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"SettingQueryResponse()"
|
||||
}
|
||||
|
|
|
|||
|
|
@ -10,13 +10,6 @@ abstract class TestMessage() extends Serializable {
|
|||
|
||||
|
||||
|
||||
override def equals(o: Any): Boolean = this.eq(o.asInstanceOf[AnyRef]) || (o match {
|
||||
case _: TestMessage => true
|
||||
case _ => false
|
||||
})
|
||||
override def hashCode: Int = {
|
||||
37 * (17 + "sbt.protocol.testing.TestMessage".##)
|
||||
}
|
||||
override def toString: String = {
|
||||
"TestMessage()"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue