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/frontends PhoenixServlet.java
Date Mon, 20 May 2002 11:42:06 GMT
donaldp     02/05/20 04:42:06

  Modified:    src/java/org/apache/avalon/phoenix/frontends
                        PhoenixServlet.java
  Log:
  Fix checkstyle violations
  
  Revision  Changes    Path
  1.18      +6 -3      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/frontends/PhoenixServlet.java
  
  Index: PhoenixServlet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/frontends/PhoenixServlet.java,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- PhoenixServlet.java	20 May 2002 10:23:35 -0000	1.17
  +++ PhoenixServlet.java	20 May 2002 11:42:06 -0000	1.18
  @@ -73,8 +73,10 @@
           final String logDestination = getInitParameter( "log-destination" );
           final String logPriority = getInitParameter( "log-priority" );
           final String appName = getInitParameter( "application-name", "default" );
  -        final String appLoc = getInitParameter( "application-location", phoenixHome + "/"
+ appName );
  -        final String configFile = getInitParameter( "config-file", phoenixHome + "/conf/kernel.xml"
);
  +        final String appLoc =
  +            getInitParameter( "application-location", phoenixHome + "/" + appName );
  +        final String configFile =
  +            getInitParameter( "config-file", phoenixHome + "/conf/kernel.xml" );
   
           m_parameters = new Parameters();
           m_parameters.setParameter( "phoenix.home", context.getRealPath( phoenixHome ) );
  @@ -86,7 +88,8 @@
           try
           {
               final DefaultConfigurationBuilder builder = new DefaultConfigurationBuilder();
  -            final Configuration kernelConf = builder.buildFromFile( context.getRealPath(
configFile ) );
  +            final Configuration kernelConf =
  +                builder.buildFromFile( context.getRealPath( configFile ) );
               final Configuration embeddorConf = kernelConf.getChild( "embeddor" );
               final String embeddorClassname = embeddorConf.getAttribute( "class" );
   
  
  
  

--
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