summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-04-06 01:26:31 +0000
committerPaul Phillips <paulp@improving.org>2010-04-06 01:26:31 +0000
commitf578ff88d2514bf94c46cfb8c0e33236c2b2fcf1 (patch)
tree79de21d09f14420748c6426f50e7fc636ae7b33f /docs
parent3b8ee6d4a95eb417b9e4eb944afb8d36bc913e18 (diff)
downloadscala-f578ff88d2514bf94c46cfb8c0e33236c2b2fcf1.tar.gz
scala-f578ff88d2514bf94c46cfb8c0e33236c2b2fcf1.tar.bz2
scala-f578ff88d2514bf94c46cfb8c0e33236c2b2fcf1.zip
As a brief diversion from real work, implemente...
As a brief diversion from real work, implemented Damerau–Levenshtein and ran it on trunk to elicit obvious misspellings. Unfortunately they're mostly in places like compiler comments which real people never see, but I fixed them anyway. All those English Lit majors who peruse our sources are sure to be pleased. No review.
Diffstat (limited to 'docs')
-rw-r--r--docs/examples/parsing/lambda/TestParser.scala2
-rw-r--r--docs/examples/pilib/elasticBuffer.scala2
-rw-r--r--docs/examples/pilib/mobilePhoneProtocol.scala2
-rw-r--r--docs/examples/plugintemplate/src/plugintemplate/standalone/Main.scala4
4 files changed, 5 insertions, 5 deletions
diff --git a/docs/examples/parsing/lambda/TestParser.scala b/docs/examples/parsing/lambda/TestParser.scala
index 22257c1731..623b597337 100644
--- a/docs/examples/parsing/lambda/TestParser.scala
+++ b/docs/examples/parsing/lambda/TestParser.scala
@@ -20,7 +20,7 @@ trait TestParser extends StdTokenParsers with ImplicitConversions with TestSynt
def name : Parser[Name] = ident ^^ Name
- // meaning of the argumens to the closure during subsequent iterations
+ // meaning of the arguments to the closure during subsequent iterations
// (...(expr2 op1 expr1) ... op1 expr1)
// ^a^^^ ^o^ ^b^^^
// ^^^^^^^a^^^^^^^ ^o^ ^^b^^
diff --git a/docs/examples/pilib/elasticBuffer.scala b/docs/examples/pilib/elasticBuffer.scala
index e156cafbc2..a0e8bb6a7c 100644
--- a/docs/examples/pilib/elasticBuffer.scala
+++ b/docs/examples/pilib/elasticBuffer.scala
@@ -64,7 +64,7 @@ object elasticBuffer {
def Consumer(get: Chan[String]): Unit = {
Thread.sleep(1 + random.nextInt(1000))
val msg = get.read
- System.out.println("Consummer took " + msg)
+ System.out.println("Consumer took " + msg)
Consumer(get)
}
diff --git a/docs/examples/pilib/mobilePhoneProtocol.scala b/docs/examples/pilib/mobilePhoneProtocol.scala
index 385836318b..0805253ae0 100644
--- a/docs/examples/pilib/mobilePhoneProtocol.scala
+++ b/docs/examples/pilib/mobilePhoneProtocol.scala
@@ -158,7 +158,7 @@ object mobilePhoneProtocol {
def Consumer(get: Chan[String]): unit = {
Thread.sleep(1 + random.nextInt(1000));
val msg = get.read;
- System.out.println("Consummer took " + msg);
+ System.out.println("Consumer took " + msg);
Consumer(get)
}
diff --git a/docs/examples/plugintemplate/src/plugintemplate/standalone/Main.scala b/docs/examples/plugintemplate/src/plugintemplate/standalone/Main.scala
index 53e5e40104..bea6eeee26 100644
--- a/docs/examples/plugintemplate/src/plugintemplate/standalone/Main.scala
+++ b/docs/examples/plugintemplate/src/plugintemplate/standalone/Main.scala
@@ -17,7 +17,7 @@ object Main {
val command = new CompilerCommand(args.toList, settings, println, false) {
/** The command name that will be printed in in the usage message.
- * This is autmatically set to the value of 'plugin.commandname' in the
+ * This is automatically set to the value of 'plugin.commandname' in the
* file build.properties.
*/
override val cmdName = PluginProperties.pluginCommand
@@ -26,7 +26,7 @@ object Main {
if (!command.ok)
return()
- /** The version number of this plugin is read from the porperties file
+ /** The version number of this plugin is read from the properties file
*/
if (settings.version.value) {
println(command.cmdName +" version "+ PluginProperties.versionString)