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-excalibur/configuration/src/java/org/apache/excalibur/configuration ConfigurationUtil.java
Date Wed, 13 Nov 2002 01:04:03 GMT
donaldp     2002/11/12 17:04:03

  Modified:    configuration/src/java/org/apache/excalibur/configuration
                        ConfigurationUtil.java
  Log:
  Remove unused method
  
  Revision  Changes    Path
  1.11      +0 -22     jakarta-avalon-excalibur/configuration/src/java/org/apache/excalibur/configuration/ConfigurationUtil.java
  
  Index: ConfigurationUtil.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/configuration/src/java/org/apache/excalibur/configuration/ConfigurationUtil.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ConfigurationUtil.java	13 Nov 2002 01:03:41 -0000	1.10
  +++ ConfigurationUtil.java	13 Nov 2002 01:04:03 -0000	1.11
  @@ -58,8 +58,6 @@
   import java.util.ArrayList;
   import java.util.Arrays;
   import java.util.Iterator;
  -import org.apache.avalon.framework.CascadingRuntimeException;
  -import org.apache.avalon.framework.configuration.AbstractConfiguration;
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
   import org.apache.avalon.framework.configuration.DefaultConfiguration;
  @@ -238,26 +236,6 @@
           branched.addAll( config );
           branched.makeReadOnly();
           return branched;
  -    }
  -
  -    private static DefaultConfiguration createNew( final Configuration config, final String
name )
  -    {
  -        if( config instanceof AbstractConfiguration )
  -        {
  -            try
  -            {
  -                return new DefaultConfiguration( name,
  -                                                 config.getLocation(),
  -                                                 config.getNamespace(),
  -                                                 "" );
  -            }
  -            catch( ConfigurationException e )
  -            {
  -                //Ignore. If there is an error in the namespaces, we won't copy namespaces
stuff
  -            }
  -        }
  -
  -        return new DefaultConfiguration( name, config.getLocation() );
       }
   
       /**
  
  
  

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