summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorJanek Bogucki <janekdb@gmail.com>2015-06-22 23:32:33 +0100
committerJanek Bogucki <janekdb@gmail.com>2015-06-22 23:32:33 +0100
commitada9fa0b91ddb64f6d15f7616b455247cbcf2243 (patch)
tree59e7e22f5f7c2b021ca42dc568d9cad8ce0b9875 /test/files/jvm
parent7f1336a2ffaf573dd71192932e7b599213e5a1d0 (diff)
downloadscala-ada9fa0b91ddb64f6d15f7616b455247cbcf2243.tar.gz
scala-ada9fa0b91ddb64f6d15f7616b455247cbcf2243.tar.bz2
scala-ada9fa0b91ddb64f6d15f7616b455247cbcf2243.zip
Fix 25 typos (g-i)
Diffstat (limited to 'test/files/jvm')
-rw-r--r--test/files/jvm/javaReflection/Test.scala2
-rw-r--r--test/files/jvm/protectedacc.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/javaReflection/Test.scala b/test/files/jvm/javaReflection/Test.scala
index ae5a36eeb2..199399fec8 100644
--- a/test/files/jvm/javaReflection/Test.scala
+++ b/test/files/jvm/javaReflection/Test.scala
@@ -31,7 +31,7 @@ getSimpleName / getCanonicalName / isAnonymousClass / isLocalClass / isSynthetic
These should be avoided, they yield unexpected results:
- isAnonymousClass is always false. Scala-defined classes are never anonymous for Java
- reflection. Java reflection insepects the class name to decide whether a class is
+ reflection. Java reflection inspects the class name to decide whether a class is
anonymous, based on the name spec referenced above.
Also, the implementation of "isAnonymousClass" calls "getSimpleName", which may throw.
diff --git a/test/files/jvm/protectedacc.scala b/test/files/jvm/protectedacc.scala
index 89e70b90d8..43d218fa89 100644
--- a/test/files/jvm/protectedacc.scala
+++ b/test/files/jvm/protectedacc.scala
@@ -74,7 +74,7 @@ package p {
package b {
import a._;
- /** Test interraction with Scala inherited methods and currying. */
+ /** Test interaction with Scala inherited methods and currying. */
class B extends A {
class C {
def m = {