From 6043ad6f8fbaa172da4da8dd32966a4997c9885e Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Sat, 22 May 2010 19:19:17 +0000 Subject: 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. --- src/scalap/scala/tools/scalap/Decode.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/scalap') 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 { -- cgit v1.2.3