felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fmesc...@apache.org
Subject svn commit: r799027 - /felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java
Date Wed, 29 Jul 2009 19:22:44 GMT
Author: fmeschbe
Date: Wed Jul 29 19:22:44 2009
New Revision: 799027

URL: http://svn.apache.org/viewvc?rev=799027&view=rev
Log:
Formatting: replace tabs with spaces

Modified:
    felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java

Modified: felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java
URL: http://svn.apache.org/viewvc/felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java?rev=799027&r1=799026&r2=799027&view=diff
==============================================================================
--- felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java
(original)
+++ felix/trunk/scr/src/main/java/org/apache/felix/scr/impl/manager/ServiceFactoryComponentManager.java
Wed Jul 29 19:22:44 2009
@@ -109,16 +109,16 @@
             serviceContexts.put( service, serviceContext );
 
             // if this is the first use of this component, switch to ACTIVE state
-			if (getState() == STATE_REGISTERED)
-			{
-				synchronized(this)
-				{
-					if (getState() == STATE_REGISTERED)
-					{
-						changeState(Active.getInstance());
-					}
-				}
-			}
+            if ( getState() == STATE_REGISTERED )
+            {
+                synchronized ( this )
+                {
+                    if ( getState() == STATE_REGISTERED )
+                    {
+                        changeState( Active.getInstance() );
+                    }
+                }
+            }
         }
 
         return service;



Mime
View raw message