summaryrefslogtreecommitdiff
path: root/docs/examples/maps.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2007-05-16 13:30:30 +0000
committermichelou <michelou@epfl.ch>2007-05-16 13:30:30 +0000
commit1f65685c9626929f3e6d7b81225f57fd4e68438c (patch)
tree54d3462ca86d36545ab6ef946a1095a0f15ac38f /docs/examples/maps.scala
parent73b2db5db4fc7316467b51299994b47065bde74d (diff)
downloadscala-1f65685c9626929f3e6d7b81225f57fd4e68438c.tar.gz
scala-1f65685c9626929f3e6d7b81225f57fd4e68438c.tar.bz2
scala-1f65685c9626929f3e6d7b81225f57fd4e68438c.zip
updated examples
Diffstat (limited to 'docs/examples/maps.scala')
-rw-r--r--docs/examples/maps.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/examples/maps.scala b/docs/examples/maps.scala
index 504966cf81..ac54068730 100644
--- a/docs/examples/maps.scala
+++ b/docs/examples/maps.scala
@@ -171,12 +171,12 @@ object maps {
override def equals(that: Any): Boolean =
that.isInstanceOf[Date] && {
- val o = that.asInstanceOf[Date];
- day == o.day && month == o.month && year == o.year
+ val o = that.asInstanceOf[Date];
+ day == o.day && month == o.month && year == o.year
}
}
- def main(args: Array[String]) = {
+ def main(args: Array[String]) {
val t = new OOBinTree[Date, String]()
()
}