We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12dac41 commit ca4b784Copy full SHA for ca4b784
src/main/scala/se/citerus/dddsample/domain/model/cargo/Itinerary.scala
@@ -11,10 +11,7 @@ import scala.collection.JavaConverters._
11
/**
12
* Created by dan on 2016-09-23.
13
*/
14
-
15
16
case class Itinerary(legs: java.util.List[Leg]) {
17
- private val END_OF_DAYS: Date = new Date(Long.MaxValue)
18
19
require(legs != null, "Legs cannot be null")
20
require(!legs.contains(null), "Legs cannot have null elements")
@@ -57,6 +54,4 @@ case class Itinerary(legs: java.util.List[Leg]) {
57
54
new Date(legs.asScala.last.unloadTime.getTime)
58
55
}
59
56
60
61
- private val id: Long = 0L
62
0 commit comments