summaryrefslogtreecommitdiff
path: root/test/files/jvm
diff options
context:
space:
mode:
authorJason Zaugg <jzaugg@gmail.com>2015-06-23 11:59:11 +1000
committerJason Zaugg <jzaugg@gmail.com>2015-06-23 11:59:11 +1000
commit1b09e12ef3b3fea1cab56bac893295f74de23b8b (patch)
tree901ce1962f4ebc90d37c8f947f8ca1331d3faf88 /test/files/jvm
parent1fbce4612c21a4d0c553ea489b4765494828c09f (diff)
parentada9fa0b91ddb64f6d15f7616b455247cbcf2243 (diff)
downloadscala-1b09e12ef3b3fea1cab56bac893295f74de23b8b.tar.gz
scala-1b09e12ef3b3fea1cab56bac893295f74de23b8b.tar.bz2
scala-1b09e12ef3b3fea1cab56bac893295f74de23b8b.zip
Merge pull request #4574 from janekdb/2.11.x-typos-g-i
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 = {