felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pde...@apache.org
Subject svn commit: r1441514 - /felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java
Date Fri, 01 Feb 2013 16:30:35 GMT
Author: pderop
Date: Fri Feb  1 16:30:35 2013
New Revision: 1441514

URL: http://svn.apache.org/viewvc?rev=1441514&view=rev
Log:
Reformatted code.

Modified:
    felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java

Modified: felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java?rev=1441514&r1=1441513&r2=1441514&view=diff
==============================================================================
--- felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java
(original)
+++ felix/trunk/dependencymanager/runtime/src/main/java/org/apache/felix/dm/runtime/DependencyManagerRuntime.java
Fri Feb  1 16:30:35 2013
@@ -104,16 +104,19 @@ public class DependencyManagerRuntime
      */
     protected void bundleStarted(Bundle bundle)
     {
-        Log.instance().info("Scanning started bundle %s", bundle.getSymbolicName());    
   
+        Log.instance().info("Scanning started bundle %s", bundle.getSymbolicName());
         List<URL> descriptorURLs = new ArrayList<URL>();
-        collectDescriptors(bundle, descriptorURLs);                
+        collectDescriptors(bundle, descriptorURLs);
         Bundle[] fragments = m_packageAdmin.getFragments(bundle);
-        if (fragments != null) {
-            for (Bundle fragment : fragments) {
+        if (fragments != null)
+        {
+            for (Bundle fragment : fragments)
+            {
                 collectDescriptors(fragment, descriptorURLs);
             }
         }
-        for (URL descriptorURL: descriptorURLs) {
+        for (URL descriptorURL : descriptorURLs)
+        {
             loadDescriptor(bundle, descriptorURL);
         }
     }



Mime
View raw message