Skip to content

Commit 914c37f

Browse files
[#102] Update scala versions to 2.13.5 and 2.12.13 (#103)
1 parent b6e6dfd commit 914c37f

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

common/src/main/scala/it/agilelab/darwin/manager/util/ByteArrayUtils.scala

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ private[darwin] object ByteArrayUtils {
5151
os.write((l >>> 40).asInstanceOf[Int])
5252
os.write((l >>> 48).asInstanceOf[Int])
5353
os.write((l >>> 56).asInstanceOf[Int])
54+
case other: Any =>
55+
throw new IllegalArgumentException("Unknown ByteOrder: " + other)
5456
}
5557
}
5658
}
@@ -80,6 +82,8 @@ private[darwin] object ByteArrayUtils {
8082
os.write((l >>> 8))
8183
os.write((l >>> 16))
8284
os.write((l >>> 24))
85+
case other: Any =>
86+
throw new IllegalArgumentException("Unknown ByteOrder: " + other)
8387
}
8488
}
8589
}

mock-connector/src/main/scala/it/agilelab/darwin/connector/mock/ConfigurationKeys.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ object ConfigurationKeys {
77
val STRICT = "strict"
88
val PERMISSIVE = "permissive"
99

10-
trait Mode
10+
sealed trait Mode
1111

1212
object Mode {
1313
def parse(string: String): Mode = {

project/Versions.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
object Versions {
55
val scala_211 = "2.11.12"
66
val scala_210 = "2.10.7"
7-
val scala = "2.12.12"
8-
val scala_213 = "2.13.3"
7+
val scala = "2.12.13"
8+
val scala_213 = "2.13.5"
99
val crossScalaVersions = Seq(scala_210, scala_211, scala, scala_213)
1010
}

0 commit comments

Comments
 (0)