cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: rev 55489 - cocoon/trunk/src/test/org/apache/cocoon
Date Mon, 25 Oct 2004 06:54:13 GMT
Author: cziegeler
Date: Sun Oct 24 23:54:12 2004
New Revision: 55489

Modified:
   cocoon/trunk/src/test/org/apache/cocoon/CocoonTestCase.java
Log:
Don't use deprecated methods

Modified: cocoon/trunk/src/test/org/apache/cocoon/CocoonTestCase.java
==============================================================================
--- cocoon/trunk/src/test/org/apache/cocoon/CocoonTestCase.java	(original)
+++ cocoon/trunk/src/test/org/apache/cocoon/CocoonTestCase.java	Sun Oct 24 23:54:12 2004
@@ -43,12 +43,12 @@
             // Create configuration for source-factories
             final DefaultConfiguration df = new DefaultConfiguration("source-factories");
             DefaultConfiguration factory = new DefaultConfiguration("component-instance");
-            factory.addAttribute("class", ResourceSourceFactory.class.getName());
-            factory.addAttribute("name", "resource");
+            factory.setAttribute("class", ResourceSourceFactory.class.getName());
+            factory.setAttribute("name", "resource");
             df.addChild(factory);
             factory = new DefaultConfiguration("component-instance");
-            factory.addAttribute("class", URLSourceFactory.class.getName());
-            factory.addAttribute("name", "*");
+            factory.setAttribute("class", URLSourceFactory.class.getName());
+            factory.setAttribute("name", "*");
             df.addChild(factory);
             manager.addComponent("org.apache.excalibur.source.SourceFactorySelector", 
                                  CocoonServiceSelector.class, 

Mime
View raw message