summaryrefslogtreecommitdiff
path: root/src/reflect
diff options
context:
space:
mode:
authorJanek Bogucki <janekdb@gmail.com>2015-06-18 08:30:44 +0100
committerJanek Bogucki <janekdb@gmail.com>2015-06-18 08:43:09 +0100
commitce7d2e95ce1f2bc6e601fb31f4c1fefa39d0d222 (patch)
treeaf20c0b44da805890b8b60744657046644424567 /src/reflect
parentc4f0ba4c108132e9e289032b99c519e0a0b7b056 (diff)
downloadscala-ce7d2e95ce1f2bc6e601fb31f4c1fefa39d0d222.tar.gz
scala-ce7d2e95ce1f2bc6e601fb31f4c1fefa39d0d222.tar.bz2
scala-ce7d2e95ce1f2bc6e601fb31f4c1fefa39d0d222.zip
Fix some typos (a-c)
Diffstat (limited to 'src/reflect')
-rw-r--r--src/reflect/scala/reflect/internal/AnnotationCheckers.scala2
-rw-r--r--src/reflect/scala/reflect/internal/Symbols.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/reflect/scala/reflect/internal/AnnotationCheckers.scala b/src/reflect/scala/reflect/internal/AnnotationCheckers.scala
index 74310e1c34..1ba014d19d 100644
--- a/src/reflect/scala/reflect/internal/AnnotationCheckers.scala
+++ b/src/reflect/scala/reflect/internal/AnnotationCheckers.scala
@@ -60,7 +60,7 @@ trait AnnotationCheckers {
* mode (see method adapt in trait Typers).
*
* An implementation cannot rely on canAdaptAnnotations being called before. If the implementing
- * class cannot do the adaptiong, it should return the tree unchanged.
+ * class cannot do the adapting, it should return the tree unchanged.
*/
@deprecated("Create an AnalyzerPlugin and use adaptAnnotations", "2.10.1")
def adaptAnnotations(tree: Tree, mode: Mode, pt: Type): Tree = tree
diff --git a/src/reflect/scala/reflect/internal/Symbols.scala b/src/reflect/scala/reflect/internal/Symbols.scala
index abe966920b..285d59c5e2 100644
--- a/src/reflect/scala/reflect/internal/Symbols.scala
+++ b/src/reflect/scala/reflect/internal/Symbols.scala
@@ -987,7 +987,7 @@ trait Symbols extends api.Symbols { self: SymbolTable =>
|| isLocalToBlock
)
)
- /** Is this symbol effectively final or a concrete term member of sealed class whose childred do not override it */
+ /** Is this symbol effectively final or a concrete term member of sealed class whose children do not override it */
final def isEffectivelyFinalOrNotOverridden: Boolean = isEffectivelyFinal || (isTerm && !isDeferred && isNotOverridden)
/** Is this symbol owned by a package? */