Return-Path: Delivered-To: apmail-xml-cocoon-cvs-archive@xml.apache.org Received: (qmail 63578 invoked by uid 500); 15 Apr 2003 13:10:29 -0000 Mailing-List: contact cocoon-cvs-help@xml.apache.org; run by ezmlm Precedence: bulk Reply-To: cocoon-dev@xml.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list cocoon-cvs@xml.apache.org Received: (qmail 63567 invoked by uid 500); 15 Apr 2003 13:10:29 -0000 Delivered-To: apmail-cocoon-2.1-cvs@apache.org Received: (qmail 63564 invoked from network); 15 Apr 2003 13:10:29 -0000 Received: from icarus.apache.org (208.185.179.13) by daedalus.apache.org with SMTP; 15 Apr 2003 13:10:29 -0000 Received: (qmail 94136 invoked by uid 1041); 15 Apr 2003 13:10:28 -0000 Date: 15 Apr 2003 13:10:28 -0000 Message-ID: <20030415131028.94116.qmail@icarus.apache.org> From: giacomo@apache.org To: cocoon-2.1-cvs@apache.org Subject: cvs commit: cocoon-2.1/src/java/org/apache/cocoon/components CocoonComponentManager.java X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N giacomo 2003/04/15 06:10:27 Modified: src/java/org/apache/cocoon/components CocoonComponentManager.java Log: Fixing reload behaviour Obtained from: Carsten Ziegeler Submitted by: Carsten Ziegeler Reviewed by: Giacomo Pati CVS: ---------------------------------------------------------------------- CVS: PR: CVS: If this change addresses a PR in the problem report tracking CVS: database, then enter the PR number(s) here. CVS: Obtained from: CVS: If this change has been taken from another system, such as NCSA, CVS: then name the system in this line, otherwise delete it. CVS: Submitted by: CVS: If this code has been contributed to Apache by someone else; i.e., CVS: they sent us a patch or a new module, then include their name/email CVS: address here. If this is your work then delete this line. CVS: Reviewed by: CVS: If we are doing pre-commit code reviews and someone else has CVS: reviewed your changes, include their name(s) here. CVS: If you have not had it reviewed then delete this line. Revision Changes Path 1.7 +8 -8 cocoon-2.1/src/java/org/apache/cocoon/components/CocoonComponentManager.java Index: CocoonComponentManager.java =================================================================== RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/components/CocoonComponentManager.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -b -u -r1.6 -r1.7 --- CocoonComponentManager.java 24 Mar 2003 14:33:54 -0000 1.6 +++ CocoonComponentManager.java 15 Apr 2003 13:10:27 -0000 1.7 @@ -117,21 +117,21 @@ } /** Create the ComponentManager with a Classloader */ - public CocoonComponentManager( final ClassLoader loader ) { + public CocoonComponentManager(final ClassLoader loader) { super( null, loader ); - if ( null == rootManager ) rootManager = this; + rootManager = this; } /** Create the ComponentManager with a Classloader and parent ComponentManager */ - public CocoonComponentManager( final ComponentManager manager, final ClassLoader loader ) { - super(manager, loader); - if ( null == rootManager ) rootManager = this; + public CocoonComponentManager(final ComponentManager manager, final ClassLoader loader) { + super( manager, loader ); + if (rootManager != manager) rootManager = this; } /** Create the ComponentManager with a parent ComponentManager */ public CocoonComponentManager(final ComponentManager manager) { - super(manager); - if ( null == rootManager ) rootManager = this; + super( manager); + if (rootManager != manager) rootManager = this; } /**