diff options
author | Paul Phillips <paulp@improving.org> | 2010-05-22 19:19:17 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-05-22 19:19:17 +0000 |
commit | 6043ad6f8fbaa172da4da8dd32966a4997c9885e (patch) | |
tree | dedae5a780b26d173dc7e893dcf93587e78ca28c /src/scalap | |
parent | 43cc66eefd3a6915bb149b9a97156a248983d12e (diff) | |
download | scala-6043ad6f8fbaa172da4da8dd32966a4997c9885e.tar.gz scala-6043ad6f8fbaa172da4da8dd32966a4997c9885e.tar.bz2 scala-6043ad6f8fbaa172da4da8dd32966a4997c9885e.zip |
It's clearly not a long term solution to go hun...
It's clearly not a long term solution to go hunting them one by one,
but for the short term goal of shipping 2.8.0 without accidental java 6
dependencies, removed what should be all uses of String.isEmpty from the
source. No review.
Diffstat (limited to 'src/scalap')
-rw-r--r-- | src/scalap/scala/tools/scalap/Decode.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scalap/scala/tools/scalap/Decode.scala b/src/scalap/scala/tools/scalap/Decode.scala index 5189009584..b289e476aa 100644 --- a/src/scalap/scala/tools/scalap/Decode.scala +++ b/src/scalap/scala/tools/scalap/Decode.scala @@ -72,7 +72,7 @@ object Decode { } yield { val f: PartialFunction[Symbol, List[String]] = - if (inner.isEmpty) { + if (inner == "") { case x: MethodSymbol if x.isCaseAccessor && (x.name endsWith " ") => List(x.name dropRight 1) } else { |