Why do I need to write 'L' after each key in a Map in order to have a Map[Long, ...]? Is there another, less verbose way?
private[this] val periodById: Map[Long, X] = Map(
1L -> OneSecond,
4L -> TenSecond,
5L -> ThirtySecond,
10L -> OneMinute,
50L -> FiveMinutes,
100L -> TenMinutes
)