[java-identity-provider COMMIT] /trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractServiceableComponent...

noreply at shibboleth.net noreply at shibboleth.net
Thu Jul 3 05:32:29 EDT 2014


Author: rdw
Date: Thu Jul  3 05:32:29 2014
New Revision: 6210

URL: http://svn.shibboleth.net/view/java-identity-provider?rev=6210&view=rev
Log:
tidy variable name.

Modified:
    trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractServiceableComponent.java

Modified: trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractServiceableComponent.java
URL: http://svn.shibboleth.net/view/java-identity-provider/trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractServiceableComponent.java?rev=6210&r1=6209&r2=6210&view=diff
==============================================================================
--- trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractServiceableComponent.java (original)
+++ trunk/idp-core/src/main/java/net/shibboleth/idp/service/AbstractServiceableComponent.java Thu Jul  3 05:32:29 2014
@@ -91,21 +91,21 @@
             return;
         }
 
-        ConfigurableApplicationContext component = null;
+        ConfigurableApplicationContext oldContext = null;
         log.debug("Component '{}': Component unload called", getId());
         try {
             log.trace("Component '{}': Queueing for write lock", getId());
             serviceLock.writeLock().lock();
             log.trace("Component '{}': Got write lock", getId());
-            component = (ConfigurableApplicationContext) applicationContext;
+            oldContext = (ConfigurableApplicationContext) applicationContext;
             applicationContext = null;
         } finally {
             serviceLock.writeLock().unlock();
         }
 
-        if (null != component) {
+        if (null != oldContext) {
             log.debug("Component '{}': Closing the appcontext", getId());
-            component.close();
+            oldContext.close();
         }
     }
 



More information about the commits mailing list