summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-05-14 07:20:42 -0700
committerPaul Phillips <paulp@improving.org>2012-05-14 07:20:42 -0700
commitb3f7bc996b7a59b951cd0f199a056b6ad99d153b (patch)
treeba2b39a5cd43dabd462c65dedb10c7f5cf1f6424 /src/compiler/scala/tools/nsc
parent0b75e0956ac01c35129981cc3bd7cefe5d12000b (diff)
downloadscala-b3f7bc996b7a59b951cd0f199a056b6ad99d153b.tar.gz
scala-b3f7bc996b7a59b951cd0f199a056b6ad99d153b.tar.bz2
scala-b3f7bc996b7a59b951cd0f199a056b6ad99d153b.zip
No-op changes.
Fixed a comment and simplified a mysterious "if (x) y else y" method thanks to the helpful jibe received in comments.
Diffstat (limited to 'src/compiler/scala/tools/nsc')
-rw-r--r--src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala2
-rw-r--r--src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
index 225afaf0fb..81fe907a0c 100644
--- a/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
+++ b/src/compiler/scala/tools/nsc/backend/jvm/GenASM.scala
@@ -274,7 +274,7 @@ abstract class GenASM extends SubComponent with BytecodeWriters {
// we can exclude lateFINAL. Such symbols are eligible for inlining, but to
// avoid breaking proxy software which depends on subclassing, we do not
// emit ACC_FINAL.
- // Nested objects won't receive ACC_FINAL in order to allow for their overloading.
+ // Nested objects won't receive ACC_FINAL in order to allow for their overriding.
val finalFlag = (
(sym.hasFlag(Flags.FINAL) || isTopLevelModule(sym))
diff --git a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
index b5ce7588f6..7f5b7aaf62 100644
--- a/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
+++ b/src/compiler/scala/tools/nsc/backend/jvm/GenJVM.scala
@@ -1976,7 +1976,7 @@ abstract class GenJVM extends SubComponent with GenJVMUtil with GenAndroid with
// we can exclude lateFINAL. Such symbols are eligible for inlining, but to
// avoid breaking proxy software which depends on subclassing, we do not
// emit ACC_FINAL.
- // Nested objects won't receive ACC_FINAL in order to allow for their overloading.
+ // Nested objects won't receive ACC_FINAL in order to allow for their overriding.
val finalFlag = (
(sym.hasFlag(Flags.FINAL) || isTopLevelModule(sym))