summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorLukas Rytz <lukas.rytz@typesafe.com>2016-05-25 06:43:07 +0200
committerLukas Rytz <lukas.rytz@typesafe.com>2016-05-25 06:43:07 +0200
commiteaefb10e26724f93a447c3b4df3cc073c8465d39 (patch)
tree52d05f80bbbde3e7f871ccb5294e86dab40b051a /src/library
parentc17ef7758bee4be23dcd91701d54f09220bdc343 (diff)
parentdd3a90e939fef264292b3dbc75d0cdbce4eeae6f (diff)
downloadscala-eaefb10e26724f93a447c3b4df3cc073c8465d39.tar.gz
scala-eaefb10e26724f93a447c3b4df3cc073c8465d39.tar.bz2
scala-eaefb10e26724f93a447c3b4df3cc073c8465d39.zip
Merge pull request #5185 from janekdb/topic/2.12.x-scaladoc-java-link-syntax
Fix Scaladoc link syntax on java.util.Formatter references
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/Predef.scala3
-rw-r--r--src/library/scala/collection/immutable/StringLike.scala6
2 files changed, 3 insertions, 6 deletions
diff --git a/src/library/scala/Predef.scala b/src/library/scala/Predef.scala
index 58d43f8666..216f6663b5 100644
--- a/src/library/scala/Predef.scala
+++ b/src/library/scala/Predef.scala
@@ -388,8 +388,7 @@ object Predef extends LowPriorityImplicits with DeprecatedPredef {
* based on a string pattern (in a fashion similar to printf in C).
*
* The interpretation of the formatting patterns is described in
- * <a href="" target="contentFrame" class="java/util/Formatter">
- * `java.util.Formatter`</a>.
+ * [[java.util.Formatter]].
*
* Consider using the [[scala.StringContext.f f interpolator]] as more type safe and idiomatic.
*
diff --git a/src/library/scala/collection/immutable/StringLike.scala b/src/library/scala/collection/immutable/StringLike.scala
index 8a9df0e862..3c7507f480 100644
--- a/src/library/scala/collection/immutable/StringLike.scala
+++ b/src/library/scala/collection/immutable/StringLike.scala
@@ -336,8 +336,7 @@ self =>
* holes.
*
* The interpretation of the formatting patterns is described in
- * <a href="" target="contentFrame" class="java/util/Formatter">
- * `java.util.Formatter`</a>, with the addition that
+ * [[java.util.Formatter]], with the addition that
* classes deriving from `ScalaNumber` (such as [[scala.BigInt]] and
* [[scala.BigDecimal]]) are unwrapped to pass a type which `Formatter`
* understands.
@@ -352,8 +351,7 @@ self =>
* which influences formatting as in `java.lang.String`'s format.
*
* The interpretation of the formatting patterns is described in
- * <a href="" target="contentFrame" class="java/util/Formatter">
- * `java.util.Formatter`</a>, with the addition that
+ * [[java.util.Formatter]], with the addition that
* classes deriving from `ScalaNumber` (such as `scala.BigInt` and
* `scala.BigDecimal`) are unwrapped to pass a type which `Formatter`
* understands.