cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From un...@apache.org
Subject svn commit: rev 56372 - cocoon/branches/BRANCH_2_1_X/src/blocks/repository/java/org/apache/cocoon/components/repository
Date Tue, 02 Nov 2004 13:59:45 GMT
Author: unico
Date: Tue Nov  2 05:59:44 2004
New Revision: 56372

Modified:
   cocoon/branches/BRANCH_2_1_X/src/blocks/repository/java/org/apache/cocoon/components/repository/RepositoryManager.java
Log:
fix deprecated warning

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/repository/java/org/apache/cocoon/components/repository/RepositoryManager.java
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/repository/java/org/apache/cocoon/components/repository/RepositoryManager.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/repository/java/org/apache/cocoon/components/repository/RepositoryManager.java
Tue Nov  2 05:59:44 2004
@@ -106,15 +106,13 @@
                 this.getLogger().debug("loading class" + className);
             }
     
-            Repository repo = (Repository)repoClass.newInstance();
+            Repository repo = (Repository) repoClass.newInstance();
             LifecycleHelper.setupComponent(repo,
                                            this.getLogger(),
                                            null,
                                            this.manager,
-                                           null,
                                            repoConfiguration,
                                            true);
-        
             repo.setCredentials(credentials);
             return repo;
 

Mime
View raw message