summaryrefslogtreecommitdiff
path: root/src/library/scala/sys
diff options
context:
space:
mode:
authorDominik Gruntz <dominik.gruntz@fhnw.ch>2014-08-06 17:12:20 +0200
committerDominik Gruntz <dominik.gruntz@fhnw.ch>2014-08-06 17:12:20 +0200
commit72721ff5dd06dea1235ecb71acae0bd61aee4814 (patch)
tree61ebfbbe7fba755bd3d1b205c08fb9414bbd4568 /src/library/scala/sys
parent3808916f70c34e2e6ecfac1d50ff2cc0bf489834 (diff)
downloadscala-72721ff5dd06dea1235ecb71acae0bd61aee4814.tar.gz
scala-72721ff5dd06dea1235ecb71acae0bd61aee4814.tar.bz2
scala-72721ff5dd06dea1235ecb71acae0bd61aee4814.zip
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
Diffstat (limited to 'src/library/scala/sys')
-rw-r--r--src/library/scala/sys/Prop.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/sys/Prop.scala b/src/library/scala/sys/Prop.scala
index 04c7b5108c..17ae8cb69c 100644
--- a/src/library/scala/sys/Prop.scala
+++ b/src/library/scala/sys/Prop.scala
@@ -20,7 +20,7 @@ package sys
* @since 2.9
*/
trait Prop[+T] {
- /** The full name of the property, e.g. "java.awt.headless".
+ /** The full name of the property, e.g., "java.awt.headless".
*/
def key: String