forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject cvs commit: xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/use/cocoon HierarchyGenerator.java
Date Thu, 09 Jan 2003 00:06:46 GMT
mpo         2003/01/08 16:06:46

  Modified:    src/scratchpad/src/java/org/apache/forrest/yer/hierarchy
                        HierarchyReader.java SimpleEntryList.java
               src/scratchpad/src/java/org/apache/forrest/yer/impl/fs
                        CollectionImpl.java FileEntryImpl.java
                        ItemImpl.java
               src/scratchpad/src/java/org/apache/forrest/yer/libre
                        EntryFilter.java EntrySorter.java LibreConfig.java
                        LibreConfigBuilder.java
                        PropertyAttributeReader.java
               src/scratchpad/src/java/org/apache/forrest/yer/use/cli
                        HierarchyDump.java
               src/scratchpad/src/java/org/apache/forrest/yer/use/cocoon
                        HierarchyGenerator.java
  Log:
  clean-up of useless imports.
  
  Revision  Changes    Path
  1.4       +1 -2      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/hierarchy/HierarchyReader.java
  
  Index: HierarchyReader.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/hierarchy/HierarchyReader.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- HierarchyReader.java	5 Nov 2002 05:52:40 -0000	1.3
  +++ HierarchyReader.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -59,7 +59,6 @@
   //sax
   import org.xml.sax.ContentHandler;
   import org.xml.sax.SAXException;
  -import org.xml.sax.Attributes;
   import org.xml.sax.helpers.AttributesImpl;
   import org.apache.forrest.sax.SAXConvenience;
   
  
  
  
  1.4       +1 -2      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/hierarchy/SimpleEntryList.java
  
  Index: SimpleEntryList.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/hierarchy/SimpleEntryList.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- SimpleEntryList.java	5 Nov 2002 05:52:40 -0000	1.3
  +++ SimpleEntryList.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -58,7 +58,6 @@
   
   
   import java.util.List;
  -import java.util.ListIterator;
   import java.util.Iterator;
   import java.util.ArrayList;
   
  
  
  
  1.4       +1 -3      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/impl/fs/CollectionImpl.java
  
  Index: CollectionImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/impl/fs/CollectionImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- CollectionImpl.java	5 Nov 2002 05:52:40 -0000	1.3
  +++ CollectionImpl.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -60,11 +60,9 @@
   import org.apache.forrest.yer.hierarchy.SimpleEntryList;
   import org.apache.forrest.yer.libre.LibreConfig;
   import org.apache.forrest.yer.libre.LibreConfigHelper;
  -import org.apache.forrest.yer.hierarchy.AttributeReader;
   import org.apache.forrest.yer.hierarchy.Collection;
   import org.apache.forrest.yer.hierarchy.HierarchyConfig;
   import org.apache.forrest.yer.hierarchy.EntryList;
  -import org.apache.avalon.framework.component.ComponentManager;
   
   import java.io.File;
   import java.io.FilenameFilter;
  
  
  
  1.4       +1 -5      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/impl/fs/FileEntryImpl.java
  
  Index: FileEntryImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/impl/fs/FileEntryImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- FileEntryImpl.java	5 Nov 2002 05:52:40 -0000	1.3
  +++ FileEntryImpl.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -57,12 +57,8 @@
   package org.apache.forrest.yer.impl.fs;
   
   import org.apache.forrest.yer.hierarchy.Entry;
  -import org.apache.forrest.yer.hierarchy.SimpleEntryList;
  -import org.apache.forrest.yer.libre.LibreConfig;
  -import org.apache.forrest.yer.hierarchy.AttributeReader;
   
   import java.io.*;
  -import java.util.HashMap;
   import java.util.Properties;
   
   /** Class <code>org.apache.forrest.yer.impl.fs.FileEntryImpl</code> is a base
class
  
  
  
  1.4       +1 -3      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/impl/fs/ItemImpl.java
  
  Index: ItemImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/impl/fs/ItemImpl.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ItemImpl.java	5 Nov 2002 05:52:40 -0000	1.3
  +++ ItemImpl.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -56,8 +56,6 @@
    */
   package org.apache.forrest.yer.impl.fs;
   
  -import org.apache.forrest.yer.hierarchy.Entry;
  -import org.apache.forrest.yer.hierarchy.SimpleEntryList;
   import org.apache.forrest.yer.hierarchy.EntryList;
   
   import java.io.File;
  
  
  
  1.4       +1 -2      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/EntryFilter.java
  
  Index: EntryFilter.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/EntryFilter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- EntryFilter.java	5 Nov 2002 05:52:41 -0000	1.3
  +++ EntryFilter.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -56,7 +56,6 @@
    */
   package org.apache.forrest.yer.libre;
   
  -import org.apache.forrest.yer.hierarchy.SimpleEntryList;
   import org.apache.forrest.yer.hierarchy.EntryList;
   
   /** Interface <code>org.apache.forrest.yer.libre.EntryFilter</code> ...
  
  
  
  1.4       +1 -2      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/EntrySorter.java
  
  Index: EntrySorter.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/EntrySorter.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- EntrySorter.java	5 Nov 2002 05:52:41 -0000	1.3
  +++ EntrySorter.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -56,7 +56,6 @@
    */
   package org.apache.forrest.yer.libre;
   
  -import org.apache.forrest.yer.hierarchy.SimpleEntryList;
   import org.apache.forrest.yer.hierarchy.EntryList;
   
   /** Interface <code>org.apache.forrest.yer.libre.EntrySorter</code> ...
  
  
  
  1.4       +1 -5      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/LibreConfig.java
  
  Index: LibreConfig.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/LibreConfig.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LibreConfig.java	5 Nov 2002 05:52:41 -0000	1.3
  +++ LibreConfig.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -56,7 +56,6 @@
    */
   package org.apache.forrest.yer.libre;
   
  -import org.xml.sax.SAXException;
   import org.apache.forrest.yer.hierarchy.SimpleEntryList;
   import org.apache.forrest.yer.hierarchy.Entry;
   import org.apache.forrest.yer.hierarchy.EntryVisitor;
  @@ -66,12 +65,9 @@
   import org.apache.forrest.yer.hierarchy.EntryList;
   import org.apache.forrest.yer.hierarchy.SortingEntryList;
   
  -import java.io.InputStream;
  -import java.io.File;
   import java.util.List;
   import java.util.Set;
   import java.util.HashSet;
  -import java.util.Map;
   import java.util.HashMap;
   import java.util.Iterator;
   import java.util.ArrayList;
  
  
  
  1.4       +2 -2      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/LibreConfigBuilder.java
  
  Index: LibreConfigBuilder.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/LibreConfigBuilder.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- LibreConfigBuilder.java	5 Nov 2002 05:52:41 -0000	1.3
  +++ LibreConfigBuilder.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -118,7 +118,7 @@
      */
     public LibreConfig getLibreConfig() {
       if (this.libre == null) {
  -      this.libre = this.helper.DEFAULT_LIBRE_CONFIG;
  +      this.libre = LibreConfigHelper.DEFAULT_LIBRE_CONFIG;
       }
       return this.libre;
     }
  
  
  
  1.4       +1 -2      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/PropertyAttributeReader.java
  
  Index: PropertyAttributeReader.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/libre/PropertyAttributeReader.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- PropertyAttributeReader.java	5 Nov 2002 05:52:41 -0000	1.3
  +++ PropertyAttributeReader.java	9 Jan 2003 00:06:45 -0000	1.4
  @@ -61,7 +61,6 @@
   import org.apache.oro.text.regex.Perl5Compiler;
   import org.apache.oro.text.regex.Pattern;
   import org.apache.oro.text.regex.MalformedPatternException;
  -import org.apache.oro.text.regex.PatternMatcherInput;
   import org.apache.oro.text.regex.PatternMatcher;
   import org.apache.oro.text.regex.Perl5Matcher;
   import org.apache.oro.text.regex.Perl5Substitution;
  
  
  
  1.4       +1 -6      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/use/cli/HierarchyDump.java
  
  Index: HierarchyDump.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/use/cli/HierarchyDump.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- HierarchyDump.java	5 Nov 2002 05:52:41 -0000	1.3
  +++ HierarchyDump.java	9 Jan 2003 00:06:46 -0000	1.4
  @@ -63,16 +63,11 @@
   
   import org.xml.sax.ContentHandler;
   
  -import javax.xml.transform.TransformerFactory;
   import javax.xml.transform.stream.StreamResult;
  -import javax.xml.transform.sax.SAXTransformerFactory;
  -import javax.xml.transform.sax.TransformerHandler;
   import java.io.OutputStream;
   import java.io.File;
   import java.io.FileOutputStream;
  -import java.io.FileNotFoundException;
   import java.io.IOException;
  -import java.io.PrintStream;
   import java.io.FilterOutputStream;
   
   /** Class <code>org.apache.forrest.yer.use.cli.HierarchyDump</code> ...
  
  
  
  1.5       +1 -2      xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/use/cocoon/HierarchyGenerator.java
  
  Index: HierarchyGenerator.java
  ===================================================================
  RCS file: /home/cvs/xml-forrest/src/scratchpad/src/java/org/apache/forrest/yer/use/cocoon/HierarchyGenerator.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- HierarchyGenerator.java	5 Nov 2002 05:52:41 -0000	1.4
  +++ HierarchyGenerator.java	9 Jan 2003 00:06:46 -0000	1.5
  @@ -61,7 +61,6 @@
   import org.apache.cocoon.generation.ComposerGenerator;
   
   import org.apache.cocoon.ProcessingException;
  -import org.apache.cocoon.ResourceNotFoundException;
   import org.apache.cocoon.components.source.SourceUtil;
   import org.apache.cocoon.caching.CacheableProcessingComponent;
   import org.apache.cocoon.environment.SourceResolver;
  
  
  

Mime
View raw message