summaryrefslogtreecommitdiff
path: root/src/library/scala/collection/TraversableOnce.scala
diff options
context:
space:
mode:
authorDominik Gruntz <dominik.gruntz@fhnw.ch>2014-08-06 17:12:20 +0200
committerAntoine Gourlay <antoine@gourlay.fr>2014-08-11 17:56:03 +0200
commit5cb672bdc6e8a662ddc68a07811956e78a134acf (patch)
tree9dc3aa9380b2babcc61d7a43268eb5ccb90f65d2 /src/library/scala/collection/TraversableOnce.scala
parent2b78c32b42b55b96834df31824fdb081a095cf5f (diff)
downloadscala-5cb672bdc6e8a662ddc68a07811956e78a134acf.tar.gz
scala-5cb672bdc6e8a662ddc68a07811956e78a134acf.tar.bz2
scala-5cb672bdc6e8a662ddc68a07811956e78a134acf.zip
[backport] Fixes cut sentences in the generated scaladocs
This commit changes all first sentences of library functions which contain `i.e.` or `e.g.` and adds a `,` to prevent that the scaladoc summary sentence is cut after this abbreviation. This is possible as pull/3824 fixed how Scaladoc parses the first sentence of a method description into a sumary sentence(now the first sentence has to end with a dot followed by whitespace). Only docs in the core library are changed (src/library/**/*.scala) and only if they occur in the first sentence. Review by @heathermiller (cherry picked from commit 72721ff5dd06dea1235ecb71acae0bd61aee4814)
Diffstat (limited to 'src/library/scala/collection/TraversableOnce.scala')
-rw-r--r--src/library/scala/collection/TraversableOnce.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/collection/TraversableOnce.scala b/src/library/scala/collection/TraversableOnce.scala
index a8c4e047ab..13cd99d910 100644
--- a/src/library/scala/collection/TraversableOnce.scala
+++ b/src/library/scala/collection/TraversableOnce.scala
@@ -75,7 +75,7 @@ trait TraversableOnce[+A] extends Any with GenTraversableOnce[A] {
// at least indirectly. Currently, these are `ArrayOps` and `StringOps`.
// It is also implemented in `TraversableOnce[A]`.
/** A version of this collection with all
- * of the operations implemented sequentially (i.e. in a single-threaded manner).
+ * of the operations implemented sequentially (i.e., in a single-threaded manner).
*
* This method returns a reference to this collection. In parallel collections,
* it is redefined to return a sequential implementation of this collection. In