esme-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From vdic...@apache.org
Subject svn commit: r762466 - /incubator/esme/branches/access-pools/server/src/main/scala/org/apache/esme/api/TwitterAPI.scala
Date Mon, 06 Apr 2009 19:22:46 GMT
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, _) =>



Mime
View raw message