summaryrefslogtreecommitdiff
path: root/src/library
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2012-03-16 12:52:27 -0700
committerPaul Phillips <paulp@improving.org>2012-03-16 13:56:00 -0700
commitd267988ddbf03c71fa1ef2fa51f2d218793632ed (patch)
treef20e7b7dbcb4812c9c143c65f30a2e780c192f2a /src/library
parent8ebfd48564c905624eecfc0efb51fd124c60c6a1 (diff)
downloadscala-d267988ddbf03c71fa1ef2fa51f2d218793632ed.tar.gz
scala-d267988ddbf03c71fa1ef2fa51f2d218793632ed.tar.bz2
scala-d267988ddbf03c71fa1ef2fa51f2d218793632ed.zip
Eliminating warnings in Cleanup.
And un-overabstracting it a bit. When a method takes four parameters in two parameter lists, one of which is a closure acting on a tuple, and it turns out there are a total of three call sites and they all pass identical values for the first three parameters, it may be time to brush up on your YAGNI.
Diffstat (limited to 'src/library')
-rw-r--r--src/library/scala/reflect/api/Modifier.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/library/scala/reflect/api/Modifier.scala b/src/library/scala/reflect/api/Modifier.scala
index cbfe91e59b..1b67929e15 100644
--- a/src/library/scala/reflect/api/Modifier.scala
+++ b/src/library/scala/reflect/api/Modifier.scala
@@ -2,7 +2,7 @@ package scala.reflect.api
import collection.{ immutable, mutable }
-sealed abstract class Modifier {
+abstract class Modifier private[api] () {
def name: String
def isKeyword: Boolean
def sourceString: String = if (isKeyword) "`" + name + "`" else name