You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@esme.apache.org by vd...@apache.org on 2009/04/06 21:22:46 UTC

svn commit: r762466 - /incubator/esme/branches/access-pools/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala

Author: vdichev
Date: Mon Apr  6 19:22:46 2009
New Revision: 762466

URL: http://svn.apache.org/viewvc?rev=762466&view=rev
Log:
Fix to make compatible with JDK version < 6

Modified:
    incubator/esme/branches/access-pools/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala

Modified: incubator/esme/branches/access-pools/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala
URL: http://svn.apache.org/viewvc/incubator/esme/branches/access-pools/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala?rev=762466&r1=762465&r2=762466&view=diff
==============================================================================
--- incubator/esme/branches/access-pools/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala (original)
+++ incubator/esme/branches/access-pools/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala Mon Apr  6 19:22:46 2009
@@ -50,7 +50,7 @@
 import java.util.logging._
 
 object TwitterAPI {
-  val ApiPath = Props.get("twitter.prefix", "twitter").split("/").toList.filter(! _.isEmpty)
+  val ApiPath = Props.get("twitter.prefix", "twitter").split("/").toList.filter(_.length > 0)
   
   def twitterAuth = HttpBasicAuthentication("esme") {
     case (user: String, password: String, _) =>