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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to