summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordgruntz <dominik.gruntz@fhnw.ch>2014-07-15 00:48:39 +0200
committerdgruntz <dominik.gruntz@fhnw.ch>2014-07-15 00:48:39 +0200
commitc2e4da674d8c40e2d220854a966b0510fb6d459e (patch)
tree8781b3663b02432599ed9048af7d3a95eeca0162
parent462fe6a7189dbfef7b2cf888f9716a80880c0d9f (diff)
downloadscala-c2e4da674d8c40e2d220854a966b0510fb6d459e.tar.gz
scala-c2e4da674d8c40e2d220854a966b0510fb6d459e.tar.bz2
scala-c2e4da674d8c40e2d220854a966b0510fb6d459e.zip
Fixes first sentence delimiters
Scaladoc places the first sentence in the method summary table and index. The first sentence is defined as the sequence of chars up to the first period (not as in JavaDoc where the sentence ends with the first period *followed by a blank*). As a consequence, the clause starting with `i.e.` is interpreted as sentende delimiter. This request replaces `i.e.` with `i&period;e&period;`. Alghough a valid HTML code, I do not know whether this change is compatible with other tools. And I assume that this is not the only source file affected.
-rw-r--r--src/library/scala/concurrent/Future.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/library/scala/concurrent/Future.scala b/src/library/scala/concurrent/Future.scala
index 4ed0687334..a9b7d79e63 100644
--- a/src/library/scala/concurrent/Future.scala
+++ b/src/library/scala/concurrent/Future.scala
@@ -102,7 +102,7 @@ trait Future[+T] extends Awaitable[T] {
/* Callbacks */
- /** When this future is completed successfully (i.e. with a value),
+ /** When this future is completed successfully (i&period;e&period; with a value),
* apply the provided partial function to the value if the partial function
* is defined at that value.
*
@@ -118,7 +118,7 @@ trait Future[+T] extends Awaitable[T] {
case _ =>
}
- /** When this future is completed with a failure (i.e. with a throwable),
+ /** When this future is completed with a failure (i&period;e&period; with a throwable),
* apply the provided callback to the throwable.
*
* $caughtThrowables