summaryrefslogtreecommitdiff
path: root/test/disabled/coder/Coder.scala
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-07-13 08:42:11 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-07-13 11:45:02 +1000
commit18e3e61778918e4e802b8fb75789635409523372 (patch)
tree18d67da301f0b63667e9393d3e336b1fcb5e1875 /test/disabled/coder/Coder.scala
parentb92c3aff1ab8c76c4816bd7b1a82a0f87d787837 (diff)
parent52fde52920d93325310e5544991feeea03e5c763 (diff)
downloadscala-18e3e61778918e4e802b8fb75789635409523372.tar.gz
scala-18e3e61778918e4e802b8fb75789635409523372.tar.bz2
scala-18e3e61778918e4e802b8fb75789635409523372.zip
Merge remote-tracking branch 'origin/2.11.x' into merge/2.11.x-to-2.12.x-20150713
Conflicts: src/eclipse/partest/.classpath src/eclipse/repl/.classpath test/files/run/nothingTypeNoFramesNoDce.scala test/files/run/repl-javap-app.check Also fixup two .classpath files with updated partest, xml and parser combinators JARs.
Diffstat (limited to 'test/disabled/coder/Coder.scala')
-rw-r--r--test/disabled/coder/Coder.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/disabled/coder/Coder.scala b/test/disabled/coder/Coder.scala
index 4e29c2a6ee..62b99e0cf0 100644
--- a/test/disabled/coder/Coder.scala
+++ b/test/disabled/coder/Coder.scala
@@ -10,7 +10,7 @@ class SeqCoder(words: List[String]) {
'2' -> "ABC", '3' -> "DEF", '4' -> "GHI", '5' -> "JKL",
'6' -> "MNO", '7' -> "PQRS", '8' -> "TUV", '9' -> "WXYZ")
- /** Invert the mnemnonics map to give a map from chars 'A' ... 'Z' to '2' ... '9' */
+ /** Invert the mnemonics map to give a map from chars 'A' ... 'Z' to '2' ... '9' */
private val charCode: Map[Char, Char] =
for ((digit, letters) <- m; letter <- letters) yield letter -> digit
@@ -65,7 +65,7 @@ class ParCoder(words: List[String]) {
'2' -> "ABC", '3' -> "DEF", '4' -> "GHI", '5' -> "JKL",
'6' -> "MNO", '7' -> "PQRS", '8' -> "TUV", '9' -> "WXYZ")
- /** Invert the mnemnonics map to give a map from chars 'A' ... 'Z' to '2' ... '9' */
+ /** Invert the mnemonics map to give a map from chars 'A' ... 'Z' to '2' ... '9' */
private val charCode: Map[Char, Char] =
for ((digit, letters) <- m; letter <- letters) yield letter -> digit