You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2012/02/20 11:02:55 UTC
svn commit: r1291172 -
/activemq/activemq-apollo/trunk/apollo-web/src/main/scala/org/apache/activemq/apollo/web/resources/BrokerResource.scala
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")