commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jstrac...@apache.org
Subject cvs commit: jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules FromXmlRuleSet.java DigesterLoader.java DigesterRuleParser.java
Date Wed, 16 Apr 2003 11:23:52 GMT
jstrachan    2003/04/16 04:23:51

  Modified:    digester/src/test/org/apache/commons/digester
                        NodeCreateRuleTestCase.java
                        OtherTestObjectCreationFactory.java
                        CallMethodRuleTestCase.java RegexRulesTestCase.java
                        BeanPropertySetterRuleTestCase.java
                        RuleTestCase.java TestFactoryCreate.java
                        DigesterTestCase.java ObjectParamRuleTestCase.java
                        SetPropertyRuleTestCase.java
                        TestObjectCreationFactory.java
               digester/src/java/org/apache/commons/digester
                        SetPropertiesRule.java SetTopRule.java
                        SetNextRule.java Digester.java
                        ObjectCreationFactory.java FactoryCreateRule.java
                        RegexRules.java ExtendedBaseRules.java
                        SimpleRegexMatcher.java SetRootRule.java
                        SetPropertyRule.java CallParamRule.java
                        CallMethodRule.java BeanPropertySetterRule.java
                        RegexMatcher.java
               digester/src/java/org/apache/commons/digester/rss Image.java
                        TextInput.java Channel.java Item.java
               digester/src/test/org/apache/commons/digester/xmlrules
                        ThrowExceptionCreationFactory.java
                        DigesterLoaderTest.java TestObject.java
                        CallParamTestObject.java
               digester/src/java/org/apache/commons/digester/xmlrules
                        FromXmlRuleSet.java DigesterLoader.java
                        DigesterRuleParser.java
  Log:
  tidied the imports, removing unused imports and expanding .* imports
  
  Revision  Changes    Path
  1.3       +1 -5      jakarta-commons/digester/src/test/org/apache/commons/digester/NodeCreateRuleTestCase.java
  
  Index: NodeCreateRuleTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/NodeCreateRuleTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- NodeCreateRuleTestCase.java	2 Feb 2003 15:52:14 -0000	1.2
  +++ NodeCreateRuleTestCase.java	16 Apr 2003 11:23:49 -0000	1.3
  @@ -73,14 +73,10 @@
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
  -import org.w3c.dom.DOMImplementation;
   import org.w3c.dom.Document;
   import org.w3c.dom.DocumentFragment;
   import org.w3c.dom.Element;
   import org.w3c.dom.Node;
  -import org.xml.sax.EntityResolver;
  -import org.xml.sax.ErrorHandler;
  -import org.xml.sax.InputSource;
   import org.xml.sax.SAXException;
   
   
  
  
  
  1.2       +0 -6      jakarta-commons/digester/src/test/org/apache/commons/digester/OtherTestObjectCreationFactory.java
  
  Index: OtherTestObjectCreationFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/OtherTestObjectCreationFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- OtherTestObjectCreationFactory.java	15 Mar 2003 18:41:04 -0000	1.1
  +++ OtherTestObjectCreationFactory.java	16 Apr 2003 11:23:49 -0000	1.2
  @@ -58,12 +58,6 @@
   
   package org.apache.commons.digester;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -
  -import org.xml.sax.Attributes;
  -import org.xml.sax.helpers.AttributesImpl;
   
   /**
    * Another Object creation factory used for testing.
  
  
  
  1.6       +1 -5      jakarta-commons/digester/src/test/org/apache/commons/digester/CallMethodRuleTestCase.java
  
  Index: CallMethodRuleTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/CallMethodRuleTestCase.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- CallMethodRuleTestCase.java	14 Apr 2003 21:31:04 -0000	1.5
  +++ CallMethodRuleTestCase.java	16 Apr 2003 11:23:49 -0000	1.6
  @@ -61,20 +61,16 @@
   
   import java.io.IOException;
   import java.io.InputStream;
  -import java.io.Reader;
   import java.io.StringReader;
   import java.util.ArrayList;
   import java.util.HashMap;
  -import java.util.List;
   import java.util.Map;
   
  -import org.xml.sax.SAXException;
  -
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
  -import org.apache.commons.logging.impl.SimpleLog;
  +import org.xml.sax.SAXException;
   
   
   /**
  
  
  
  1.2       +4 -8      jakarta-commons/digester/src/test/org/apache/commons/digester/RegexRulesTestCase.java
  
  Index: RegexRulesTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/RegexRulesTestCase.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RegexRulesTestCase.java	2 Apr 2003 19:04:58 -0000	1.1
  +++ RegexRulesTestCase.java	16 Apr 2003 11:23:49 -0000	1.2
  @@ -63,11 +63,7 @@
   
   import java.util.List;
   
  -import junit.framework.Test;
   import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -
  -import org.apache.commons.logging.impl.SimpleLog;
   
   /**
    * Test case for RegexRules
  
  
  
  1.10      +2 -3      jakarta-commons/digester/src/test/org/apache/commons/digester/BeanPropertySetterRuleTestCase.java
  
  Index: BeanPropertySetterRuleTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/BeanPropertySetterRuleTestCase.java,v
  retrieving revision 1.9
  retrieving revision 1.10
  diff -u -r1.9 -r1.10
  --- BeanPropertySetterRuleTestCase.java	5 Feb 2003 01:47:42 -0000	1.9
  +++ BeanPropertySetterRuleTestCase.java	16 Apr 2003 11:23:49 -0000	1.10
  @@ -60,18 +60,17 @@
   
   
   import java.io.IOException;
  -import java.io.InputStream;
   import java.io.Reader;
   import java.io.StringReader;
   import java.lang.reflect.InvocationTargetException;
   import java.util.ArrayList;
   import java.util.List;
   
  -import org.xml.sax.SAXException;
  -
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
  +import org.xml.sax.SAXException;
   
   
   /**
  
  
  
  1.24      +4 -6      jakarta-commons/digester/src/test/org/apache/commons/digester/RuleTestCase.java
  
  Index: RuleTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/RuleTestCase.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- RuleTestCase.java	2 Feb 2003 15:52:14 -0000	1.23
  +++ RuleTestCase.java	16 Apr 2003 11:23:49 -0000	1.24
  @@ -65,9 +65,7 @@
   
   import java.io.IOException;
   import java.io.InputStream;
  -
   import java.util.ArrayList;
  -import java.util.Hashtable;
   
   import junit.framework.Test;
   import junit.framework.TestCase;
  
  
  
  1.2       +1 -3      jakarta-commons/digester/src/test/org/apache/commons/digester/TestFactoryCreate.java
  
  Index: TestFactoryCreate.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/TestFactoryCreate.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestFactoryCreate.java	15 Mar 2003 18:41:04 -0000	1.1
  +++ TestFactoryCreate.java	16 Apr 2003 11:23:49 -0000	1.2
  @@ -58,17 +58,15 @@
   
   package org.apache.commons.digester;
   
  +import java.io.StringReader;
   import java.util.ArrayList;
   import java.util.List;
   
  -import java.io.StringReader;
  -
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
   
   import org.xml.sax.Attributes;
  -import org.xml.sax.helpers.AttributesImpl;
   
   /**
    * Test case for factory create rules.
  
  
  
  1.12      +5 -4      jakarta-commons/digester/src/test/org/apache/commons/digester/DigesterTestCase.java
  
  Index: DigesterTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/DigesterTestCase.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- DigesterTestCase.java	2 Feb 2003 15:53:57 -0000	1.11
  +++ DigesterTestCase.java	16 Apr 2003 11:23:49 -0000	1.12
  @@ -71,6 +71,7 @@
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
   import org.xml.sax.ErrorHandler;
   
   
  
  
  
  1.3       +2 -2      jakarta-commons/digester/src/test/org/apache/commons/digester/ObjectParamRuleTestCase.java
  
  Index: ObjectParamRuleTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/ObjectParamRuleTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- ObjectParamRuleTestCase.java	2 Feb 2003 15:52:14 -0000	1.2
  +++ ObjectParamRuleTestCase.java	16 Apr 2003 11:23:49 -0000	1.3
  @@ -63,11 +63,11 @@
   import java.io.StringReader;
   import java.util.ArrayList;
   
  -import org.xml.sax.SAXException;
  -
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
  +import org.xml.sax.SAXException;
   
   
   /**
  
  
  
  1.3       +2 -5      jakarta-commons/digester/src/test/org/apache/commons/digester/SetPropertyRuleTestCase.java
  
  Index: SetPropertyRuleTestCase.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/SetPropertyRuleTestCase.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- SetPropertyRuleTestCase.java	5 Feb 2003 01:47:42 -0000	1.2
  +++ SetPropertyRuleTestCase.java	16 Apr 2003 11:23:49 -0000	1.3
  @@ -60,18 +60,15 @@
   
   
   import java.io.IOException;
  -import java.io.InputStream;
   import java.io.Reader;
   import java.io.StringReader;
   import java.lang.reflect.InvocationTargetException;
  -import java.util.ArrayList;
  -import java.util.List;
  -
  -import org.xml.sax.SAXException;
   
   import junit.framework.Test;
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
  +import org.xml.sax.SAXException;
   
   
   /**
  
  
  
  1.2       +0 -4      jakarta-commons/digester/src/test/org/apache/commons/digester/TestObjectCreationFactory.java
  
  Index: TestObjectCreationFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/TestObjectCreationFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- TestObjectCreationFactory.java	15 Mar 2003 18:41:04 -0000	1.1
  +++ TestObjectCreationFactory.java	16 Apr 2003 11:23:49 -0000	1.2
  @@ -58,10 +58,6 @@
   
   package org.apache.commons.digester;
   
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  -
   import org.xml.sax.Attributes;
   import org.xml.sax.helpers.AttributesImpl;
   
  
  
  
  1.11      +5 -5      jakarta-commons/digester/src/java/org/apache/commons/digester/SetPropertiesRule.java
  
  Index: SetPropertiesRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/SetPropertiesRule.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- SetPropertiesRule.java	2 Feb 2003 16:09:53 -0000	1.10
  +++ SetPropertiesRule.java	16 Apr 2003 11:23:50 -0000	1.11
  @@ -65,8 +65,8 @@
   
   import java.util.HashMap;
   
  -import org.xml.sax.Attributes;
   import org.apache.commons.beanutils.BeanUtils;
  +import org.xml.sax.Attributes;
   
   
   /**
  
  
  
  1.17      +4 -8      jakarta-commons/digester/src/java/org/apache/commons/digester/SetTopRule.java
  
  Index: SetTopRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/SetTopRule.java,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- SetTopRule.java	2 Feb 2003 16:09:53 -0000	1.16
  +++ SetTopRule.java	16 Apr 2003 11:23:50 -0000	1.17
  @@ -63,10 +63,6 @@
   package org.apache.commons.digester;
   
   
  -import java.lang.ClassLoader;
  -import java.lang.reflect.Method;
  -
  -import org.xml.sax.Attributes;
   import org.apache.commons.beanutils.MethodUtils;
   
   
  
  
  
  1.16      +4 -8      jakarta-commons/digester/src/java/org/apache/commons/digester/SetNextRule.java
  
  Index: SetNextRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/SetNextRule.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- SetNextRule.java	2 Feb 2003 16:09:53 -0000	1.15
  +++ SetNextRule.java	16 Apr 2003 11:23:50 -0000	1.16
  @@ -63,10 +63,6 @@
   package org.apache.commons.digester;
   
   
  -import java.lang.ClassLoader;
  -import java.lang.reflect.Method;
  -
  -import org.xml.sax.Attributes;
   import org.apache.commons.beanutils.MethodUtils;
   
   
  
  
  
  1.74      +7 -13     jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java
  
  Index: Digester.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/Digester.java,v
  retrieving revision 1.73
  retrieving revision 1.74
  diff -u -r1.73 -r1.74
  --- Digester.java	13 Apr 2003 20:46:03 -0000	1.73
  +++ Digester.java	16 Apr 2003 11:23:50 -0000	1.74
  @@ -65,20 +65,16 @@
   
   import java.io.File;
   import java.io.FileInputStream;
  -import java.io.FileReader;
  -import java.io.InputStream;
   import java.io.IOException;
  -import java.io.PrintWriter;
  +import java.io.InputStream;
   import java.io.Reader;
   import java.lang.reflect.InvocationTargetException;
  -import java.net.URL;
  -import java.net.URLConnection;
  -import java.util.ArrayList;
   import java.util.EmptyStackException;
   import java.util.HashMap;
   import java.util.Iterator;
   import java.util.List;
   import java.util.Map;
  +
   import javax.xml.parsers.ParserConfigurationException;
   import javax.xml.parsers.SAXParser;
   import javax.xml.parsers.SAXParserFactory;
  @@ -87,18 +83,16 @@
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
   import org.xml.sax.Attributes;
  -import org.xml.sax.ContentHandler;
   import org.xml.sax.EntityResolver;
   import org.xml.sax.ErrorHandler;
  -import org.xml.sax.helpers.DefaultHandler;
   import org.xml.sax.InputSource;
   import org.xml.sax.Locator;
  -import org.xml.sax.EntityResolver;
   import org.xml.sax.SAXException;
   import org.xml.sax.SAXNotRecognizedException;
   import org.xml.sax.SAXNotSupportedException;
   import org.xml.sax.SAXParseException;
   import org.xml.sax.XMLReader;
  +import org.xml.sax.helpers.DefaultHandler;
   
   
   
  
  
  
  1.7       +1 -3      jakarta-commons/digester/src/java/org/apache/commons/digester/ObjectCreationFactory.java
  
  Index: ObjectCreationFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/ObjectCreationFactory.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ObjectCreationFactory.java	2 Feb 2003 16:09:53 -0000	1.6
  +++ ObjectCreationFactory.java	16 Apr 2003 11:23:50 -0000	1.7
  @@ -58,8 +58,6 @@
   package org.apache.commons.digester;
   
   
  -import java.lang.ClassLoader;
  -
   import org.xml.sax.Attributes;
   
   /**
  
  
  
  1.12      +1 -2      jakarta-commons/digester/src/java/org/apache/commons/digester/FactoryCreateRule.java
  
  Index: FactoryCreateRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/FactoryCreateRule.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- FactoryCreateRule.java	15 Mar 2003 18:37:51 -0000	1.11
  +++ FactoryCreateRule.java	16 Apr 2003 11:23:50 -0000	1.12
  @@ -59,7 +59,6 @@
   package org.apache.commons.digester;
   
   import org.apache.commons.collections.ArrayStack;
  -
   import org.xml.sax.Attributes;
   
   
  
  
  
  1.2       +6 -6      jakarta-commons/digester/src/java/org/apache/commons/digester/RegexRules.java
  
  Index: RegexRules.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/RegexRules.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RegexRules.java	2 Apr 2003 19:04:30 -0000	1.1
  +++ RegexRules.java	16 Apr 2003 11:23:50 -0000	1.2
  @@ -61,9 +61,9 @@
   
   package org.apache.commons.digester;
   
  -import java.util.List;
  -import java.util.Iterator;
   import java.util.ArrayList;
  +import java.util.Iterator;
  +import java.util.List;
   
   /**
    * <p>Rules implementation that uses regular expression matching for paths.</p>
  
  
  
  1.6       +7 -7      jakarta-commons/digester/src/java/org/apache/commons/digester/ExtendedBaseRules.java
  
  Index: ExtendedBaseRules.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/ExtendedBaseRules.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- ExtendedBaseRules.java	12 Mar 2003 22:10:50 -0000	1.5
  +++ ExtendedBaseRules.java	16 Apr 2003 11:23:50 -0000	1.6
  @@ -63,12 +63,12 @@
   
   
   import java.util.ArrayList;
  +import java.util.Collections;
  +import java.util.Comparator;
   import java.util.HashMap;
  -import java.util.Map;
   import java.util.Iterator;
   import java.util.List;
  -import java.util.Collections;
  -import java.util.Comparator;
  +import java.util.Map;
   
   
   /**
  
  
  
  1.2       +4 -6      jakarta-commons/digester/src/java/org/apache/commons/digester/SimpleRegexMatcher.java
  
  Index: SimpleRegexMatcher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/SimpleRegexMatcher.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- SimpleRegexMatcher.java	2 Apr 2003 19:04:42 -0000	1.1
  +++ SimpleRegexMatcher.java	16 Apr 2003 11:23:50 -0000	1.2
  @@ -61,8 +61,6 @@
   
   package org.apache.commons.digester;
   
  -import java.util.List;
  -
   import org.apache.commons.logging.Log;
   import org.apache.commons.logging.LogFactory;
   
  
  
  
  1.8       +4 -8      jakarta-commons/digester/src/java/org/apache/commons/digester/SetRootRule.java
  
  Index: SetRootRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/SetRootRule.java,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- SetRootRule.java	2 Feb 2003 16:09:53 -0000	1.7
  +++ SetRootRule.java	16 Apr 2003 11:23:50 -0000	1.8
  @@ -63,10 +63,6 @@
   package org.apache.commons.digester;
   
   
  -import java.lang.ClassLoader;
  -import java.lang.reflect.Method;
  -
  -import org.xml.sax.Attributes;
   import org.apache.commons.beanutils.MethodUtils;
   
   
  
  
  
  1.11      +5 -6      jakarta-commons/digester/src/java/org/apache/commons/digester/SetPropertyRule.java
  
  Index: SetPropertyRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/SetPropertyRule.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- SetPropertyRule.java	5 Feb 2003 01:47:42 -0000	1.10
  +++ SetPropertyRule.java	16 Apr 2003 11:23:50 -0000	1.11
  @@ -64,13 +64,12 @@
   
   
   import java.beans.PropertyDescriptor;
  -import java.util.HashMap;
   
  -import org.xml.sax.Attributes;
   import org.apache.commons.beanutils.BeanUtils;
   import org.apache.commons.beanutils.DynaBean;
   import org.apache.commons.beanutils.DynaProperty;
   import org.apache.commons.beanutils.PropertyUtils;
  +import org.xml.sax.Attributes;
   
   
   /**
  
  
  
  1.12      +4 -6      jakarta-commons/digester/src/java/org/apache/commons/digester/CallParamRule.java
  
  Index: CallParamRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/CallParamRule.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- CallParamRule.java	13 Apr 2003 20:46:03 -0000	1.11
  +++ CallParamRule.java	16 Apr 2003 11:23:50 -0000	1.12
  @@ -63,8 +63,6 @@
   package org.apache.commons.digester;
   
   
  -import java.lang.reflect.Method;
  -
   import org.xml.sax.Attributes;
   
   
  
  
  
  1.22      +5 -8      jakarta-commons/digester/src/java/org/apache/commons/digester/CallMethodRule.java
  
  Index: CallMethodRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/CallMethodRule.java,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- CallMethodRule.java	14 Apr 2003 21:31:03 -0000	1.21
  +++ CallMethodRule.java	16 Apr 2003 11:23:50 -0000	1.22
  @@ -63,12 +63,9 @@
   package org.apache.commons.digester;
   
   
  -import java.lang.reflect.Method;
  -import java.lang.ClassLoader;
  -
  -import org.xml.sax.Attributes;
   import org.apache.commons.beanutils.ConvertUtils;
   import org.apache.commons.beanutils.MethodUtils;
  +import org.xml.sax.Attributes;
   
   
   /**
  
  
  
  1.12      +4 -5      jakarta-commons/digester/src/java/org/apache/commons/digester/BeanPropertySetterRule.java
  
  Index: BeanPropertySetterRule.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/BeanPropertySetterRule.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- BeanPropertySetterRule.java	5 Feb 2003 01:47:42 -0000	1.11
  +++ BeanPropertySetterRule.java	16 Apr 2003 11:23:50 -0000	1.12
  @@ -64,7 +64,6 @@
   
   
   import java.beans.PropertyDescriptor;
  -import java.util.HashMap;
   
   import org.apache.commons.beanutils.BeanUtils;
   import org.apache.commons.beanutils.DynaBean;
  
  
  
  1.2       +4 -5      jakarta-commons/digester/src/java/org/apache/commons/digester/RegexMatcher.java
  
  Index: RegexMatcher.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/RegexMatcher.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- RegexMatcher.java	2 Apr 2003 19:03:44 -0000	1.1
  +++ RegexMatcher.java	16 Apr 2003 11:23:50 -0000	1.2
  @@ -61,7 +61,6 @@
   
   package org.apache.commons.digester;
   
  -import java.util.List;
   
   /**
    * Regular expression matching strategy for RegexRules.
  
  
  
  1.5       +5 -5      jakarta-commons/digester/src/java/org/apache/commons/digester/rss/Image.java
  
  Index: Image.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/rss/Image.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Image.java	27 Mar 2003 19:06:56 -0000	1.4
  +++ Image.java	16 Apr 2003 11:23:51 -0000	1.5
  @@ -62,8 +62,8 @@
   
   package org.apache.commons.digester.rss;
   
  -import java.io.Serializable;
   import java.io.PrintWriter;
  +import java.io.Serializable;
   
   
   /**
  
  
  
  1.5       +5 -5      jakarta-commons/digester/src/java/org/apache/commons/digester/rss/TextInput.java
  
  Index: TextInput.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/rss/TextInput.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- TextInput.java	27 Mar 2003 19:06:56 -0000	1.4
  +++ TextInput.java	16 Apr 2003 11:23:51 -0000	1.5
  @@ -62,8 +62,8 @@
   
   package org.apache.commons.digester.rss;
   
  -import java.io.Serializable;
   import java.io.PrintWriter;
  +import java.io.Serializable;
   
   
   /**
  
  
  
  1.6       +5 -6      jakarta-commons/digester/src/java/org/apache/commons/digester/rss/Channel.java
  
  Index: Channel.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/rss/Channel.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- Channel.java	27 Mar 2003 19:06:56 -0000	1.5
  +++ Channel.java	16 Apr 2003 11:23:51 -0000	1.6
  @@ -62,11 +62,10 @@
   
   package org.apache.commons.digester.rss;
   
  -import java.io.Serializable;
  -import java.io.IOException;
   import java.io.OutputStream;
   import java.io.OutputStreamWriter;
   import java.io.PrintWriter;
  +import java.io.Serializable;
   import java.io.UnsupportedEncodingException;
   import java.io.Writer;
   import java.util.ArrayList;
  
  
  
  1.5       +5 -5      jakarta-commons/digester/src/java/org/apache/commons/digester/rss/Item.java
  
  Index: Item.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/rss/Item.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- Item.java	27 Mar 2003 19:06:56 -0000	1.4
  +++ Item.java	16 Apr 2003 11:23:51 -0000	1.5
  @@ -62,8 +62,8 @@
   
   package org.apache.commons.digester.rss;
   
  -import java.io.Serializable;
   import java.io.PrintWriter;
  +import java.io.Serializable;
   
   
   /**
  
  
  
  1.2       +2 -6      jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/ThrowExceptionCreationFactory.java
  
  Index: ThrowExceptionCreationFactory.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/ThrowExceptionCreationFactory.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ThrowExceptionCreationFactory.java	15 Mar 2003 18:41:04 -0000	1.1
  +++ ThrowExceptionCreationFactory.java	16 Apr 2003 11:23:51 -0000	1.2
  @@ -56,14 +56,10 @@
    */
   
   
  -package org.apache.commons.digester;
  -
  -import junit.framework.Test;
  -import junit.framework.TestCase;
  -import junit.framework.TestSuite;
  +package org.apache.commons.digester.xmlrules;
   
  +import org.apache.commons.digester.AbstractObjectCreationFactory;
   import org.xml.sax.Attributes;
  -import org.xml.sax.helpers.AttributesImpl;
   
   /**
    * Object creation factory used for testing exception propagation.
  
  
  
  1.13      +4 -5      jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/DigesterLoaderTest.java
  
  Index: DigesterLoaderTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/DigesterLoaderTest.java,v
  retrieving revision 1.12
  retrieving revision 1.13
  diff -u -r1.12 -r1.13
  --- DigesterLoaderTest.java	27 Mar 2003 18:54:45 -0000	1.12
  +++ DigesterLoaderTest.java	16 Apr 2003 11:23:51 -0000	1.13
  @@ -64,13 +64,12 @@
   import java.net.URL;
   import java.util.ArrayList;
   
  -import org.apache.commons.digester.Digester;
  -import org.apache.commons.digester.Address;
  -
  -import org.apache.commons.digester.TestObjectCreationFactory;
  -
   import junit.framework.TestCase;
   import junit.framework.TestSuite;
  +
  +import org.apache.commons.digester.Address;
  +import org.apache.commons.digester.Digester;
  +import org.apache.commons.digester.TestObjectCreationFactory;
   
   
   /**
  
  
  
  1.9       +1 -1      jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/TestObject.java
  
  Index: TestObject.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/TestObject.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- TestObject.java	10 Mar 2003 21:10:11 -0000	1.8
  +++ TestObject.java	16 Apr 2003 11:23:51 -0000	1.9
  @@ -59,8 +59,8 @@
   
   
   import java.util.ArrayList;
  -import java.util.Iterator;
   import java.util.HashMap;
  +import java.util.Iterator;
   
   
   /**
  
  
  
  1.2       +0 -3      jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/CallParamTestObject.java
  
  Index: CallParamTestObject.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/test/org/apache/commons/digester/xmlrules/CallParamTestObject.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- CallParamTestObject.java	27 Mar 2003 18:55:30 -0000	1.1
  +++ CallParamTestObject.java	16 Apr 2003 11:23:51 -0000	1.2
  @@ -58,9 +58,6 @@
   package org.apache.commons.digester.xmlrules;
   
   
  -import java.util.ArrayList;
  -import java.util.Iterator;
  -import java.util.HashMap;
   
   
   /**
  
  
  
  1.6       +0 -14     jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/FromXmlRuleSet.java
  
  Index: FromXmlRuleSet.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/FromXmlRuleSet.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- FromXmlRuleSet.java	2 Feb 2003 15:53:56 -0000	1.5
  +++ FromXmlRuleSet.java	16 Apr 2003 11:23:51 -0000	1.6
  @@ -59,24 +59,10 @@
   package org.apache.commons.digester.xmlrules;
   
   
  -import java.io.BufferedInputStream;
  -import java.io.FileInputStream;
  -import java.io.FileNotFoundException;
  -import java.io.InputStream;
  -import java.io.IOException;
  -import java.io.PrintWriter;
   import java.net.URL;
  -import java.util.HashMap;
  -import java.util.HashSet;
  -import java.util.Iterator;
  -import java.util.Map;
  -import java.util.Set;
  -import java.util.Stack;
   
   import org.apache.commons.digester.Digester;
   import org.apache.commons.digester.RuleSetBase;
  -import org.xml.sax.InputSource;
  -import org.xml.sax.SAXException;
   
   /**
    * A Digester rule set where the rules come from an XML file.
  
  
  
  1.6       +1 -1      jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/DigesterLoader.java
  
  Index: DigesterLoader.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/DigesterLoader.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- DigesterLoader.java	15 Mar 2003 18:38:54 -0000	1.5
  +++ DigesterLoader.java	16 Apr 2003 11:23:51 -0000	1.6
  @@ -64,8 +64,8 @@
   import java.io.Reader;
   import java.net.URL;
   
  -import org.apache.commons.digester.RuleSet;
   import org.apache.commons.digester.Digester;
  +import org.apache.commons.digester.RuleSet;
   import org.xml.sax.SAXException;
   
   
  
  
  
  1.15      +14 -2     jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/DigesterRuleParser.java
  
  Index: DigesterRuleParser.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/digester/src/java/org/apache/commons/digester/xmlrules/DigesterRuleParser.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- DigesterRuleParser.java	4 Apr 2003 20:01:04 -0000	1.14
  +++ DigesterRuleParser.java	16 Apr 2003 11:23:51 -0000	1.15
  @@ -61,7 +61,6 @@
   
   import java.io.FileNotFoundException;
   import java.io.IOException;
  -import java.io.PrintWriter;
   import java.net.URL;
   import java.util.ArrayList;
   import java.util.HashSet;
  @@ -70,7 +69,20 @@
   import java.util.StringTokenizer;
   
   import org.apache.commons.collections.ArrayStack;
  -import org.apache.commons.digester.*;
  +import org.apache.commons.digester.AbstractObjectCreationFactory;
  +import org.apache.commons.digester.BeanPropertySetterRule;
  +import org.apache.commons.digester.CallMethodRule;
  +import org.apache.commons.digester.CallParamRule;
  +import org.apache.commons.digester.Digester;
  +import org.apache.commons.digester.FactoryCreateRule;
  +import org.apache.commons.digester.ObjectCreateRule;
  +import org.apache.commons.digester.Rule;
  +import org.apache.commons.digester.RuleSetBase;
  +import org.apache.commons.digester.Rules;
  +import org.apache.commons.digester.SetNextRule;
  +import org.apache.commons.digester.SetPropertiesRule;
  +import org.apache.commons.digester.SetPropertyRule;
  +import org.apache.commons.digester.SetTopRule;
   import org.xml.sax.Attributes;
   import org.xml.sax.SAXException;
   
  
  
  

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


Mime
View raw message