avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From blorit...@apache.org
Subject cvs commit: avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl DefaultContainerManager.java
Date Mon, 21 Apr 2003 13:35:51 GMT
bloritsch    2003/04/21 06:35:51

  Modified:    fortress/src/java/org/apache/avalon/fortress/impl
                        DefaultContainerManager.java
  Log:
  apply the second part of the patch from Jorge
  
  Revision  Changes    Path
  1.15      +2 -14     avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/DefaultContainerManager.java
  
  Index: DefaultContainerManager.java
  ===================================================================
  RCS file: /home/cvs/avalon-excalibur/fortress/src/java/org/apache/avalon/fortress/impl/DefaultContainerManager.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- DefaultContainerManager.java	18 Apr 2003 20:02:29 -0000	1.14
  +++ DefaultContainerManager.java	21 Apr 2003 13:35:51 -0000	1.15
  @@ -144,20 +144,8 @@
       {
           try
           {
  -            final String logCategory = (String) initParameters.get( ContextManagerConstants.LOG_CATEGORY
);
               final LoggerManager loggerManager = (LoggerManager) initParameters.get( LoggerManager.ROLE
);
  -            final Logger logger;
  -
  -            if ( null == logCategory )
  -            {
  -                logger = loggerManager.getDefaultLogger();
  -            }
  -            else
  -            {
  -                logger = loggerManager.getLoggerForCategory( logCategory );
  -            }
  -
  -            return logger;
  +            return loggerManager.getDefaultLogger();
           }
           catch ( ContextException ce )
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: cvs-unsubscribe@avalon.apache.org
For additional commands, e-mail: cvs-help@avalon.apache.org


Mime
View raw message