@@ -16,7 +16,7 @@ import WrapAsJava._
16
16
import scala .language .implicitConversions
17
17
18
18
19
- /** A collection of decorators that allow to convert between
19
+ /** A collection of decorators that allow converting between
20
20
* Scala and Java collections using `asScala` and `asJava` methods.
21
21
*
22
22
* The following conversions are supported via `asJava`, `asScala`
@@ -38,8 +38,8 @@ import scala.language.implicitConversions
38
38
* val sl2 : scala.collection.mutable.Buffer[Int] = jl.asScala
39
39
* assert(sl eq sl2)
40
40
* }}}
41
- * The following conversions also are supported, but the
42
- * direction Scala to Java is done my a more specifically named method :
41
+ * The following conversions are also supported, but the
42
+ * direction from Scala to Java is done by the more specifically named methods :
43
43
* `asJavaCollection`, `asJavaEnumeration`, `asJavaDictionary`.
44
44
*
45
45
* - `scala.collection.Iterable` <=> `java.util.Collection`
@@ -53,10 +53,12 @@ import scala.language.implicitConversions
53
53
* - `scala.collection.Set` => `java.util.Set`
54
54
* - `scala.collection.Map` => `java.util.Map`
55
55
*
56
- * @author Martin Odersky
56
+ * The following one way conversion is provided via `asScala`:
57
+ *
58
+ * - `java.util.Properties` => `scala.collection.mutable.Map`
59
+ *
57
60
* @since 2.8.1
58
61
*/
59
-
60
62
trait DecorateAsJava {
61
63
/**
62
64
* Adds an `asJava` method that implicitly converts a Scala `Iterator` to a
0 commit comments