felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1022563 - /felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/ComponentLifeCycleTest.java
Date Thu, 14 Oct 2010 14:55:15 GMT
Author: marrs
Date: Thu Oct 14 14:55:15 2010
New Revision: 1022563

URL: http://svn.apache.org/viewvc?rev=1022563&view=rev
Log:
Some code reformatting.

Modified:
    felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/ComponentLifeCycleTest.java

Modified: felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/ComponentLifeCycleTest.java
URL: http://svn.apache.org/viewvc/felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/ComponentLifeCycleTest.java?rev=1022563&r1=1022562&r2=1022563&view=diff
==============================================================================
--- felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/ComponentLifeCycleTest.java
(original)
+++ felix/trunk/dependencymanager/test/src/test/java/org/apache/felix/dm/test/ComponentLifeCycleTest.java
Thu Oct 14 14:55:15 2010
@@ -22,8 +22,8 @@ import static org.ops4j.pax.exam.CoreOpt
 import static org.ops4j.pax.exam.CoreOptions.options;
 import static org.ops4j.pax.exam.CoreOptions.provision;
 
-import org.apache.felix.dm.DependencyManager;
 import org.apache.felix.dm.Component;
+import org.apache.felix.dm.DependencyManager;
 import org.junit.Test;
 import org.junit.runner.RunWith;
 import org.ops4j.pax.exam.Option;
@@ -49,7 +49,8 @@ public class ComponentLifeCycleTest exte
         // helper class that ensures certain steps get executed in sequence
         Ensure e = new Ensure();
         // create a simple service component
-        Component s = m.createComponent().setImplementation(new ComponentInstance(e));
+        Component s = m.createComponent()
+            .setImplementation(new ComponentInstance(e));
         // add it, and since it has no dependencies, it should be activated immediately
         m.add(s);
         // remove it so it gets destroyed
@@ -64,7 +65,9 @@ public class ComponentLifeCycleTest exte
         // helper class that ensures certain steps get executed in sequence
         Ensure e = new Ensure();
         // create a simple service component
-        Component s = m.createComponent().setImplementation(new CustomComponentInstance(e)).setCallbacks("a",
"b", "c", "d");
+        Component s = m.createComponent()
+            .setImplementation(new CustomComponentInstance(e))
+            .setCallbacks("a", "b", "c", "d");
         // add it, and since it has no dependencies, it should be activated immediately
         m.add(s);
         // remove it so it gets destroyed



Mime
View raw message