activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r1291172 - /activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala
Date Mon, 20 Feb 2012 10:02:55 GMT
Author: chirino
Date: Mon Feb 20 10:02:55 2012
New Revision: 1291172

URL: http://svn.apache.org/viewvc?rev=1291172&view=rev
Log:
Fix runtime warning from JAXRS

Modified:
    activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala

Modified: activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala
URL: http://svn.apache.org/viewvc/activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala?rev=1291172&r1=1291171&r2=1291172&view=diff
==============================================================================
--- activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala
(original)
+++ activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala
Mon Feb 20 10:02:55 2012
@@ -118,18 +118,20 @@ case class BrokerResource() extends Reso
 
   @Produces(Array("text/html"))
   @GET @Path("signout")
-  def signout_html():Unit = {
+  def signout_html():String = {
     signout()
     result(strip_resolve("../.."))
+    ""
   }
 
   @Produces(Array(APPLICATION_JSON, APPLICATION_XML, TEXT_XML))
   @GET @Path("signout")
-  def signout():Unit =  {
+  def signout():String =  {
     val session = http_request.getSession(false)
     if( session !=null ) {
       session.invalidate();
     }
+    ""
   }
 
   @Path("config")



Mime
View raw message