You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@turbine.apache.org by mp...@apache.org on 2003/06/28 00:28:27 UTC

cvs commit: jakarta-turbine-2/src/java/org/apache/turbine/services/avaloncomponent TurbineAvalonComponentService.java AvalonComponentService.java

mpoeschl    2003/06/27 15:28:27

  Modified:    src/java/org/apache/turbine/services/avaloncomponent
                        TurbineAvalonComponentService.java
                        AvalonComponentService.java
  Log:
  style fixes
  
  Revision  Changes    Path
  1.16      +6 -6      jakarta-turbine-2/src/java/org/apache/turbine/services/avaloncomponent/TurbineAvalonComponentService.java
  
  Index: TurbineAvalonComponentService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/avaloncomponent/TurbineAvalonComponentService.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- TurbineAvalonComponentService.java	21 Jun 2003 12:42:58 -0000	1.15
  +++ TurbineAvalonComponentService.java	27 Jun 2003 22:28:27 -0000	1.16
  @@ -57,8 +57,6 @@
   import java.util.Iterator;
   import java.util.Vector;
   
  -import javax.servlet.ServletConfig;
  -
   import org.apache.avalon.excalibur.component.DefaultRoleManager;
   import org.apache.avalon.excalibur.component.ExcaliburComponentManager;
   import org.apache.avalon.excalibur.logger.Log4JLoggerManager;
  @@ -166,7 +164,8 @@
        */
       public void initialize() throws Exception
       {
  -        org.apache.commons.configuration.Configuration conf = getConfiguration();
  +        org.apache.commons.configuration.Configuration conf 
  +                = getConfiguration();
   
           // get the filenames and expand them relative to webapp root
           String sysConfigFilename = Turbine.getRealPath(
  @@ -218,7 +217,7 @@
           Vector lookupComponents = conf.getVector(COMPONENT_LOOKUP_KEY,
                   new Vector());
           
  -        for (Iterator it = lookupComponents.iterator(); it.hasNext(); )
  +        for (Iterator it = lookupComponents.iterator(); it.hasNext();)
           {
               String component = (String) it.next();
               try
  @@ -246,6 +245,7 @@
        * Returns an instance of the named component
        *
        * @param roleName Name of the role the component fills.
  +     * @return an instance of the named component
        * @throws ComponentException generic exception
        */
       public Component lookup(String roleName)
  @@ -257,7 +257,7 @@
       /**
        * Releases the component
        *
  -     * @param component
  +     * @param component the component to release
        */
       public void release(Component component)
       {
  
  
  
  1.9       +3 -2      jakarta-turbine-2/src/java/org/apache/turbine/services/avaloncomponent/AvalonComponentService.java
  
  Index: AvalonComponentService.java
  ===================================================================
  RCS file: /home/cvs/jakarta-turbine-2/src/java/org/apache/turbine/services/avaloncomponent/AvalonComponentService.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- AvalonComponentService.java	20 Jun 2003 00:03:51 -0000	1.8
  +++ AvalonComponentService.java	27 Jun 2003 22:28:27 -0000	1.9
  @@ -97,6 +97,7 @@
        * Returns an instance of the named component
        *
        * @param roleName Name of the role the component fills.
  +     * @return an instance of the named component
        * @throws ComponentException generic exception
        */
       Component lookup(String roleName)
  @@ -105,7 +106,7 @@
       /**
        * Releases the component
        *
  -     * @param component
  +     * @param component the component to release
        */
       void release(Component component);
   
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-dev-help@jakarta.apache.org