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/containerkit/src/java/org/apache/excalibur/containerkit/kernel KernelResourceProvider.java
Date Tue, 18 Jun 2002 03:51:02 GMT
donaldp     2002/06/17 20:51:02

  Modified:    containerkit/src/java/org/apache/excalibur/containerkit/kernel
                        KernelResourceProvider.java
  Log:
  Make parameters read-only before providing to component
  
  Revision  Changes    Path
  1.2       +4 -2      jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/kernel/KernelResourceProvider.java
  
  Index: KernelResourceProvider.java
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon-excalibur/containerkit/src/java/org/apache/excalibur/containerkit/kernel/KernelResourceProvider.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- KernelResourceProvider.java	18 Jun 2002 03:47:13 -0000	1.1
  +++ KernelResourceProvider.java	18 Jun 2002 03:51:02 -0000	1.2
  @@ -85,7 +85,9 @@
           throws Exception
       {
           final Configuration configuration = createConfiguration( entry );
  -        return Parameters.fromConfiguration( configuration );
  +        final Parameters parameters = Parameters.fromConfiguration( configuration );
  +        parameters.makeReadOnly();
  +        return parameters;
       }
   
       /**
  
  
  

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