felix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clem...@apache.org
Subject svn commit: r681145 - /felix/trunk/ipojo/tests/core/bad-configurations/src/main/java/org/apache/felix/ipojo/test/scenarios/bad/BadLFCController.java
Date Wed, 30 Jul 2008 17:52:24 GMT
Author: clement
Date: Wed Jul 30 10:52:24 2008
New Revision: 681145

URL: http://svn.apache.org/viewvc?rev=681145&view=rev
Log:
Minor fixes in the bad lifecycle controller handler tests to reflect recent changes (factory
attribute is now deprecated)

Modified:
    felix/trunk/ipojo/tests/core/bad-configurations/src/main/java/org/apache/felix/ipojo/test/scenarios/bad/BadLFCController.java

Modified: felix/trunk/ipojo/tests/core/bad-configurations/src/main/java/org/apache/felix/ipojo/test/scenarios/bad/BadLFCController.java
URL: http://svn.apache.org/viewvc/felix/trunk/ipojo/tests/core/bad-configurations/src/main/java/org/apache/felix/ipojo/test/scenarios/bad/BadLFCController.java?rev=681145&r1=681144&r2=681145&view=diff
==============================================================================
--- felix/trunk/ipojo/tests/core/bad-configurations/src/main/java/org/apache/felix/ipojo/test/scenarios/bad/BadLFCController.java
(original)
+++ felix/trunk/ipojo/tests/core/bad-configurations/src/main/java/org/apache/felix/ipojo/test/scenarios/bad/BadLFCController.java
Wed Jul 30 10:52:24 2008
@@ -68,9 +68,6 @@
     private Element getManipulationForComponent(Element metadata, String comp_name) {
         Element[] comps = metadata.getElements("component");
         for(int i = 0; i < comps.length; i++) {
-            if(comps[i].containsAttribute("factory") && comps[i].getAttribute("factory").equals(comp_name))
{
-                return comps[i].getElements("manipulation")[0];
-            }
             if(comps[i].containsAttribute("name") && comps[i].getAttribute("name").equals(comp_name))
{
                 return comps[i].getElements("manipulation")[0];
             }



Mime
View raw message