Thanks a lot, you saved me a heap of trouble by posting this.
However, you might want to update your example a bit: As of scala 2.8, there is an implicit conversion for java.util.properties in scala.collection.JavaConversions . So your code becomes a little bit simpler. However, this changes your properties.get(“some.key”) into properties.get(“some.key”).get, because you will get an Option[String] as a result.