You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@avalon.apache.org by mc...@apache.org on 2003/07/26 18:27:58 UTC
cvs commit: avalon-sandbox/merlin/composition/src/java/org/apache/avalon/composition/model/impl DefaultContainmentModel.java
mcconnell 2003/07/26 09:27:58
Modified: merlin/composition/src/java/org/apache/avalon/composition/model/impl
DefaultContainmentModel.java
Log:
Housekeeping.
Revision Changes Path
1.15 +13 -7 avalon-sandbox/merlin/composition/src/java/org/apache/avalon/composition/model/impl/DefaultContainmentModel.java
Index: DefaultContainmentModel.java
===================================================================
RCS file: /home/cvs/avalon-sandbox/merlin/composition/src/java/org/apache/avalon/composition/model/impl/DefaultContainmentModel.java,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- DefaultContainmentModel.java 19 Jul 2003 06:16:42 -0000 1.14
+++ DefaultContainmentModel.java 26 Jul 2003 16:27:57 -0000 1.15
@@ -269,6 +269,12 @@
final String partition = getPartition();
final Logger logger = getLogger().getChildLogger( profile.getName() );
+ if( getLogger().isDebugEnabled() )
+ {
+ final String message = REZ.getString( "containment.add", name );
+ getLogger().debug( message );
+ }
+
try
{
ClassLoader classLoader = m_context.getClassLoader();
@@ -290,12 +296,6 @@
final DeploymentModel model = new DefaultDeploymentModel( context );
m_models.put( name, model );
- if( getLogger().isDebugEnabled() )
- {
- final String message = REZ.getString( "containment.add", name );
- getLogger().debug( message );
- }
-
return model;
}
catch( Throwable e )
@@ -322,6 +322,12 @@
final String name = profile.getName();
final String partition = getPartition();
final Logger logger = getLogger().getChildLogger( name );
+
+ if( getLogger().isDebugEnabled() )
+ {
+ final String message = REZ.getString( "containment.add", name );
+ getLogger().debug( message );
+ }
try
{
---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org