tomee-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tveron...@apache.org
Subject svn commit: r1541907 - /tomee/tomee/trunk/tomee/tomee-webaccess/src/main/groovy/org/apache/tomee/webaccess/service/SessionServiceImpl.groovy
Date Thu, 14 Nov 2013 13:56:18 GMT
Author: tveronezi
Date: Thu Nov 14 13:56:18 2013
New Revision: 1541907

URL: http://svn.apache.org/r1541907
Log:
TOMEE-1074
removing unnecessary imports

Modified:
    tomee/tomee/trunk/tomee/tomee-webaccess/src/main/groovy/org/apache/tomee/webaccess/service/SessionServiceImpl.groovy

Modified: tomee/tomee/trunk/tomee/tomee-webaccess/src/main/groovy/org/apache/tomee/webaccess/service/SessionServiceImpl.groovy
URL: http://svn.apache.org/viewvc/tomee/tomee/trunk/tomee/tomee-webaccess/src/main/groovy/org/apache/tomee/webaccess/service/SessionServiceImpl.groovy?rev=1541907&r1=1541906&r2=1541907&view=diff
==============================================================================
--- tomee/tomee/trunk/tomee/tomee-webaccess/src/main/groovy/org/apache/tomee/webaccess/service/SessionServiceImpl.groovy
(original)
+++ tomee/tomee/trunk/tomee/tomee-webaccess/src/main/groovy/org/apache/tomee/webaccess/service/SessionServiceImpl.groovy
Thu Nov 14 13:56:18 2013
@@ -26,7 +26,6 @@ import javax.ejb.TransactionAttribute
 import javax.ejb.TransactionAttributeType
 import javax.management.InstanceNotFoundException
 import javax.management.ObjectName
-import javax.ws.rs.PathParam
 import java.lang.management.ManagementFactory
 
 @TransactionAttribute(TransactionAttributeType.SUPPORTS)
@@ -34,7 +33,7 @@ import java.lang.management.ManagementFa
 @RolesAllowed('tomee-admin')
 class SessionServiceImpl {
 
-    static void expireSession(@PathParam("context") String context, @PathParam("sessionId")
String sessionId) {
+    static void expireSession(String context, String sessionId) {
         def server = ManagementFactory.getPlatformMBeanServer()
         def name = "Catalina:type=Manager,context=/$context,host=localhost" as String
         try {



Mime
View raw message