avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pro...@apache.org
Subject cvs commit: jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/configuration/validator JarvConfigurationValidator.java
Date Tue, 23 Jul 2002 20:50:46 GMT
proyal      2002/07/23 13:50:46

  Modified:    src/java/org/apache/avalon/phoenix/components/configuration/validator
                        JarvConfigurationValidator.java
  Log:
  Write branched config to disk for debug
  
  Revision  Changes    Path
  1.5       +3 -3      jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/configuration/validator/JarvConfigurationValidator.java
  
  Index: JarvConfigurationValidator.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-phoenix/src/java/org/apache/avalon/phoenix/components/configuration/validator/JarvConfigurationValidator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JarvConfigurationValidator.java	19 Jul 2002 21:00:30 -0000	1.4
  +++ JarvConfigurationValidator.java	23 Jul 2002 20:50:46 -0000	1.5
  @@ -173,6 +173,7 @@
           throws ConfigurationException
       {
           final Schema schema = ( Schema ) this.m_schemas.get( createKey( application, block
) );
  +        final Configuration branched = ConfigurationUtil.branch( configuration, "root"
);
   
           if( null == schema )
           {
  @@ -183,7 +184,7 @@
   
           if( null != this.m_debugPath )
           {
  -            writeDebugConfiguration( application, block, configuration );
  +            writeDebugConfiguration( application, block, branched );
           }
   
           try
  @@ -222,8 +223,7 @@
                   }
               } );
   
  -            this.m_serializer.serialize( handler,
  -                                         ConfigurationUtil.branch( configuration, "root"
) );
  +            this.m_serializer.serialize( handler, branched );
   
               return handler.isValid();
           }
  
  
  

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