This is an automated email from the ASF dual-hosted git repository. aljoscha pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/flink.git
commit fc2e470630088baefa1c480a88ccfe37d7241b9f Author: Aljoscha Krettek <[email protected]> AuthorDate: Fri Oct 19 18:47:43 2018 +0200 [FLINK-7811] Add SerialVersionUID to Scala test classes to make it work on Scala 2.12 They didn't have a SerialVersionUID before and it seems Scala 2.12 assigns different UIDs from Scala 2.11 so we have to fix them to those that Scala 2.11 assigned automatically. --- .../org/apache/flink/api/scala/migration/MigrationTestTypes.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/flink-tests/src/test/scala/org/apache/flink/api/scala/migration/MigrationTestTypes.scala b/flink-tests/src/test/scala/org/apache/flink/api/scala/migration/MigrationTestTypes.scala index 4ae57c4..980be5c 100644 --- a/flink-tests/src/test/scala/org/apache/flink/api/scala/migration/MigrationTestTypes.scala +++ b/flink-tests/src/test/scala/org/apache/flink/api/scala/migration/MigrationTestTypes.scala @@ -18,10 +18,13 @@ package org.apache.flink.api.scala.migration +@SerialVersionUID(-1196651213850142840L) case class CustomCaseClass(a: String, b: Long) +@SerialVersionUID(-4562410952220372998L) case class CustomCaseClassWithNesting(a: Long, nested: CustomCaseClass) +@SerialVersionUID(137486769747470244L) object CustomEnum extends Enumeration { type CustomEnum = Value val ONE, TWO, THREE, FOUR = Value
