Remove use of deprecated Scala features #22581

This commit is contained in:
Björn Antonsson 2017-03-27 18:05:54 +02:00 committed by Johan Andrén
parent 7b9342e324
commit f8b4fb55ca
38 changed files with 224 additions and 108 deletions

View file

@ -12,7 +12,6 @@ import java.io._
import scala.concurrent.Await
import akka.util.Timeout
import scala.concurrent.duration._
import scala.beans.BeanInfo
import com.typesafe.config._
import akka.pattern.ask
import org.apache.commons.codec.binary.Hex.encodeHex
@ -44,9 +43,8 @@ object SerializationTests {
}
"""
@BeanInfo
final case class Address(no: String, street: String, city: String, zip: String) { def this() = this("", "", "", "") }
@BeanInfo
final case class Person(name: String, age: Int, address: Address) { def this() = this("", 0, null) }
final case class Record(id: Int, person: Person)