donaldp     2003/03/24 20:08:52

  Modified:    src/java/org/apache/avalon/framework/component
                        WrapperComponentManager.java
  Log:
  Clean line lengths
  
  Revision  Changes    Path
  1.16      +8 -8      
avalon/src/java/org/apache/avalon/framework/component/WrapperComponentManager.java
  
  Index: WrapperComponentManager.java
  ===================================================================
  RCS file: 
/home/cvs/avalon/src/java/org/apache/avalon/framework/component/WrapperComponentManager.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- WrapperComponentManager.java      12 Mar 2003 12:08:45 -0000      1.15
  +++ WrapperComponentManager.java      25 Mar 2003 04:08:52 -0000      1.16
  @@ -79,9 +79,9 @@
       * Creation of a new wrapper component manger using a supplied
       * service manager as a source backing the wrapped.  This implementation
       * redirects lookup requests to the supplied service manager provided under
  -    * this constructor. No attempt is made to proxy object supplied by the 
  -    * primary manager as Component instances - as such, it is the responsibility  
  -    * of the application establishing the wrapper to ensure that objects 
  +    * this constructor. No attempt is made to proxy object supplied by the
  +    * primary manager as Component instances - as such, it is the responsibility
  +    * of the application establishing the wrapper to ensure that objects
       * accessed via the primary manager implement the Component interface.
       *
       * @param manager the service manager backing the wrapper.
  @@ -123,8 +123,8 @@
               throw new ComponentException( se.getKey(), se.getMessage(), 
se.getCause() );
           }
   
  -        final String message = "Role does not implement the Component "
  -            + "interface and thus can not be accessed via ComponentManager";
  +        final String message = "Role does not implement the Component " +
  +            "interface and thus can not be accessed via ComponentManager";
           throw new ComponentException( key, message );
       }
   
  @@ -152,8 +152,8 @@
       {
           if( component instanceof WrapperComponentSelector )
           {
  -            m_manager.
  -                release( ( (WrapperComponentSelector)component 
).getWrappedSelector() );
  +            final WrapperComponentSelector selector = 
(WrapperComponentSelector)component;
  +            m_manager.release( selector.getWrappedSelector() );
           }
           else
           {
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to