avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dona...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor SingleAppEmbeddor.java
Date Sat, 17 Nov 2001 11:42:18 GMT
donaldp     01/11/17 03:42:18

  Modified:    src/java/org/apache/avalon/phoenix/components/embeddor
                        SingleAppEmbeddor.java
  Log:
  Ran through style formatter.
  
  Revision  Changes    Path
  1.14      +2 -6      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/SingleAppEmbeddor.java
  
  Index: SingleAppEmbeddor.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/embeddor/SingleAppEmbeddor.java,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- SingleAppEmbeddor.java	2001/09/28 00:39:47	1.13
  +++ SingleAppEmbeddor.java	2001/11/17 11:42:18	1.14
  @@ -8,11 +8,11 @@
   package org.apache.avalon.phoenix.components.embeddor;
   
   import java.io.File;
  -import org.apache.avalon.phoenix.interfaces.Application;
   import org.apache.avalon.framework.component.Component;
   import org.apache.avalon.framework.component.ComponentException;
   import org.apache.avalon.framework.component.ComponentManager;
   import org.apache.avalon.framework.parameters.Parameters;
  +import org.apache.avalon.phoenix.interfaces.Application;
   import org.apache.avalon.phoenix.interfaces.ClassLoaderManager;
   
   /**
  @@ -31,7 +31,7 @@
       implements ComponentManager
   {
       ///Sole application hosted in kernel
  -    private Application    m_application;
  +    private Application m_application;
   
       /**
        * Use ContextClassLoaderManager for ClassLoaderManager.
  @@ -41,7 +41,6 @@
       protected Parameters createDefaultParameters()
       {
           final Parameters defaults = super.createDefaultParameters();
  -
           final String PREFIX = "org.apache.avalon.phoenix.components.";
           defaults.setParameter( ClassLoaderManager.ROLE,
                                  PREFIX + "classloader.ContextClassLoaderManager" );
  @@ -58,10 +57,8 @@
       {
           final String applicationName = getParameters().getParameter( "application-name",
"default" );
           final String applicationLocation = getParameters().getParameter( "application-location"
);
  -
           final File directory = new File( applicationLocation );
           deployFile( applicationName, directory );
  -
           m_application = getKernel().getApplication( applicationName );
       }
   
  @@ -88,7 +85,6 @@
           {
               throw new ComponentException( "Unable to get reference to component " + role
);
           }
  -
           return component;
       }
   
  
  
  

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


Mime
View raw message