commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From craig...@apache.org
Subject cvs commit: jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources XMLConfigurationReader.java
Date Fri, 27 Dec 2002 00:27:51 GMT
craigmcc    2002/12/26 16:27:51

  Modified:    resources/src/java/org/apache/commons/resources
                        XMLConfigurationReader.java
  Log:
  Replace usage of deprecated Rule methods.
  
  Revision  Changes    Path
  1.5       +8 -6      jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/XMLConfigurationReader.java
  
  Index: XMLConfigurationReader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons-sandbox/resources/src/java/org/apache/commons/resources/XMLConfigurationReader.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- XMLConfigurationReader.java	27 Jul 2002 17:32:25 -0000	1.4
  +++ XMLConfigurationReader.java	27 Dec 2002 00:27:51 -0000	1.5
  @@ -146,7 +146,8 @@
           this.reader = reader;
       }
   
  -    public void begin(Attributes attributes) throws ResourcesException {
  +    public void begin(String namespace, String elementName,
  +                      Attributes attributes) throws ResourcesException {
   
           //create instance of resource from factory instance
           String factoryClass = attributes.getValue("", "factory");
  @@ -196,7 +197,8 @@
           digester.push(resource);
       }
   
  -    public void end() throws ResourcesException {
  +    public void end(String namespace, String elementName)
  +        throws ResourcesException {
           Resources resource = (Resources) digester.pop();
           reader.getResourceMap().put(resource.getName(), resource);
       }
  
  
  

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


Mime
View raw message