openwebbeans-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From strub...@apache.org
Subject svn commit: r1680662 - /openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultContextsService.java
Date Wed, 20 May 2015 19:30:38 GMT
Author: struberg
Date: Wed May 20 19:30:38 2015
New Revision: 1680662

URL: http://svn.apache.org/r1680662
Log:
remove unused method parameters

Modified:
    openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultContextsService.java

Modified: openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultContextsService.java
URL: http://svn.apache.org/viewvc/openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultContextsService.java?rev=1680662&r1=1680661&r2=1680662&view=diff
==============================================================================
--- openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultContextsService.java
(original)
+++ openwebbeans/trunk/webbeans-impl/src/main/java/org/apache/webbeans/corespi/se/DefaultContextsService.java
Wed May 20 19:30:38 2015
@@ -85,23 +85,23 @@ public class DefaultContextsService exte
         
         if(scopeType.equals(RequestScoped.class))
         {
-            stopRequestContext(endParameters);
+            stopRequestContext();
         }
         else if(scopeType.equals(SessionScoped.class))
         {
-            stopSessionContext(endParameters);
+            stopSessionContext();
         }
         else if(scopeType.equals(ApplicationScoped.class))
         {
-            stopApplicationContext(endParameters);
+            stopApplicationContext();
         }
         else if(scopeType.equals(ConversationScoped.class))
         {
-            stopConversationContext(endParameters);
+            stopConversationContext();
         }
         else if(scopeType.equals(Singleton.class))
         {
-            stopSingletonContext(endParameters);
+            stopSingletonContext();
         }
 
         // do nothing for Dependent.class
@@ -154,23 +154,23 @@ public class DefaultContextsService exte
         {
             if(scopeType.equals(RequestScoped.class))
             {
-                startRequestContext(startParameter);
+                startRequestContext();
             }
             else if(scopeType.equals(SessionScoped.class))
             {
-                startSessionContext(startParameter);
+                startSessionContext();
             }
             else if(scopeType.equals(ApplicationScoped.class))
             {
-                startApplicationContext(startParameter);
+                startApplicationContext();
             }
             else if(scopeType.equals(ConversationScoped.class))
             {
-                startConversationContext(startParameter);
+                startConversationContext();
             }
             else if(scopeType.equals(Singleton.class))
             {
-                startSingletonContext(startParameter);
+                startSingletonContext();
             }
 
             // do nothing for Dependent.class
@@ -290,7 +290,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void startApplicationContext(Object instance)
+    private void startApplicationContext()
     {
         if (applicationContext != null)
         {
@@ -310,7 +310,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void startConversationContext(Object object)
+    private void startConversationContext()
     {
         ConversationManager conversationManager = webBeansContext.getConversationManager();
         ConversationContext ctx = conversationManager.getConversationContext(getCurrentSessionContext());
@@ -324,7 +324,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void startRequestContext(Object instance)
+    private void startRequestContext()
     {
         
         RequestContext ctx = new RequestContext();
@@ -335,7 +335,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void startSessionContext(Object instance)
+    private void startSessionContext()
     {
         SessionContext ctx = new SessionContext();
         ctx.setActive(true);
@@ -345,7 +345,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void startSingletonContext(Object object)
+    private void startSingletonContext()
     {
         
         SingletonContext ctx = new SingletonContext();
@@ -356,7 +356,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void stopApplicationContext(Object object)
+    private void stopApplicationContext()
     {
         if(applicationContext != null)
         {
@@ -369,7 +369,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void stopConversationContext(Object object)
+    private void stopConversationContext()
     {
         if(conversationContext.get() != null)
         {
@@ -381,7 +381,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void stopRequestContext(Object instance)
+    private void stopRequestContext()
     {
         // cleanup open conversations first
         if (supportsConversation)
@@ -403,7 +403,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void stopSessionContext(Object instance)
+    private void stopSessionContext()
     {
         if(sessionContext.get() != null)
         {
@@ -416,7 +416,7 @@ public class DefaultContextsService exte
     }
 
     
-    private void stopSingletonContext(Object object)
+    private void stopSingletonContext()
     {
         if(singletonContext.get() != null)
         {



Mime
View raw message