summaryrefslogtreecommitdiff
path: root/src/scalap
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2010-05-22 19:19:17 +0000
committerPaul Phillips <paulp@improving.org>2010-05-22 19:19:17 +0000
commit6043ad6f8fbaa172da4da8dd32966a4997c9885e (patch)
treededae5a780b26d173dc7e893dcf93587e78ca28c /src/scalap
parent43cc66eefd3a6915bb149b9a97156a248983d12e (diff)
downloadscala-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.scala2
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 {