oalexeev    01/07/18 05:33:57

  Modified:    contrib/service-manager/src/org/apache/struts/service
                        InitServiceConfigRule.java
                        InitServiceManagerRule.java InitServiceRule.java
  Log:
  Migrate to the org.xml.sax.Attributes from deprecated
  org.xml.sax.AttributeList
  
  Revision  Changes    Path
  1.3       +2 -2      
jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceConfigRule.java
  
  Index: InitServiceConfigRule.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceConfigRule.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- InitServiceConfigRule.java        2001/07/18 04:22:19     1.2
  +++ InitServiceConfigRule.java        2001/07/18 12:33:57     1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceConfigRule.java,v
 1.2 2001/07/18 04:22:19 oalexeev Exp $
  - * $Revision: 1.2 $
  - * $Date: 2001/07/18 04:22:19 $
  + * $Header: 
/home/cvs/jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceConfigRule.java,v
 1.3 2001/07/18 12:33:57 oalexeev Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/07/18 12:33:57 $
    *
    * ====================================================================
    *
  @@ -63,11 +63,11 @@
   
   import org.apache.commons.digester.Digester;
   import org.apache.commons.digester.Rule;
  -import org.xml.sax.AttributeList;
  +import org.xml.sax.Attributes;
   
   /** 
    * @author Oleg V Alexeev
  - * @version $Revision: 1.2 $ $Date: 2001/07/18 04:22:19 $
  + * @version $Revision: 1.3 $ $Date: 2001/07/18 12:33:57 $
    */
   public class InitServiceConfigRule extends Rule {
   
  @@ -78,7 +78,7 @@
                   this.service = service;
           }
   
  -        public void begin( AttributeList attributes ) throws Exception {
  +        public void begin( Attributes attributes ) throws Exception {
                   digester.push( service );
           }
   
  
  
  
  1.3       +2 -2      
jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceManagerRule.java
  
  Index: InitServiceManagerRule.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceManagerRule.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- InitServiceManagerRule.java       2001/07/18 04:22:19     1.2
  +++ InitServiceManagerRule.java       2001/07/18 12:33:57     1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceManagerRule.java,v
 1.2 2001/07/18 04:22:19 oalexeev Exp $
  - * $Revision: 1.2 $
  - * $Date: 2001/07/18 04:22:19 $
  + * $Header: 
/home/cvs/jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceManagerRule.java,v
 1.3 2001/07/18 12:33:57 oalexeev Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/07/18 12:33:57 $
    *
    * ====================================================================
    *
  @@ -65,11 +65,11 @@
   import java.util.Iterator;
   import org.apache.commons.digester.Digester;
   import org.apache.commons.digester.Rule;
  -import org.xml.sax.AttributeList;
  +import org.xml.sax.Attributes;
   
   /** 
    * @author Oleg V Alexeev
  - * @version $Revision: 1.2 $ $Date: 2001/07/18 04:22:19 $
  + * @version $Revision: 1.3 $ $Date: 2001/07/18 12:33:57 $
    */
   public class InitServiceManagerRule extends Rule {
   
  @@ -80,7 +80,7 @@
                   this.manager = manager;
           }
   
  -        public void begin( AttributeList attributes ) throws Exception {
  +        public void begin( Attributes attributes ) throws Exception {
                   digester.push( manager );
           }
   
  
  
  
  1.3       +2 -2      
jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceRule.java
  
  Index: InitServiceRule.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceRule.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- InitServiceRule.java      2001/07/18 04:22:19     1.2
  +++ InitServiceRule.java      2001/07/18 12:33:57     1.3
  @@ -1,7 +1,7 @@
   /*
  - * $Header: 
/home/cvs/jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceRule.java,v
 1.2 2001/07/18 04:22:19 oalexeev Exp $
  - * $Revision: 1.2 $
  - * $Date: 2001/07/18 04:22:19 $
  + * $Header: 
/home/cvs/jakarta-struts/contrib/service-manager/src/org/apache/struts/service/InitServiceRule.java,v
 1.3 2001/07/18 12:33:57 oalexeev Exp $
  + * $Revision: 1.3 $
  + * $Date: 2001/07/18 12:33:57 $
    *
    * ====================================================================
    *
  @@ -63,11 +63,11 @@
   
   import org.apache.commons.digester.Digester;
   import org.apache.commons.digester.Rule;
  -import org.xml.sax.AttributeList;
  +import org.xml.sax.Attributes;
   
   /** 
    * @author Oleg V Alexeev
  - * @version $Revision: 1.2 $ $Date: 2001/07/18 04:22:19 $
  + * @version $Revision: 1.3 $ $Date: 2001/07/18 12:33:57 $
    */
   public class InitServiceRule extends Rule {
   
  @@ -91,7 +91,7 @@
                   super( digester );
           }
   
  -        public void begin( AttributeList attributes ) throws Exception {
  +        public void begin( Attributes attributes ) throws Exception {
                   ServiceRegistration registration = 
(ServiceRegistration)digester.peek();
                   service = registration.getService();
                   service.setServiceManager( manager );
  
  
  

Reply via email to