You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by vl...@apache.org on 2003/04/04 10:31:34 UTC

cvs commit: xml-xindice/java/scratchpad/src/org/apache/xindice/tools XMLTools.java

vladimir    2003/04/04 00:31:33

  Modified:    java/scratchpad/src/org/apache/xindice/webdav WebDav.java
               java/scratchpad/src/org/apache/xindice/webdav/datasource
                        DAVDataSource.java
               java/scratchpad/src/org/apache/xindice/client/xmldb/xmlrpcssl
                        DatabaseImpl.java CollectionImpl.java
               java/scratchpad/src/org/apache/xindice/webdav/datasource/xmldb
                        XMLDBDataSource.java
               java/scratchpad/src/org/apache/xindice/core/fulltext
                        PorterStemmer.java FullTextIndexer.java
               java/scratchpad/src/org/apache/xindice/tools XMLTools.java
  Log:
  cleanup
  
  Revision  Changes    Path
  1.6       +1 -6      xml-xindice/java/scratchpad/src/org/apache/xindice/webdav/WebDav.java
  
  Index: WebDav.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/webdav/WebDav.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- WebDav.java	4 Nov 2002 02:10:51 -0000	1.5
  +++ WebDav.java	4 Apr 2003 08:31:30 -0000	1.6
  @@ -58,7 +58,6 @@
   package org.apache.xindice.webdav;
   
   import java.io.InputStream;
  -import java.io.IOException;
   
   import javax.servlet.ServletConfig;
   import javax.servlet.ServletContext;
  @@ -69,7 +68,6 @@
   
   import org.apache.avalon.excalibur.component.DefaultRoleManager;
   import org.apache.avalon.excalibur.component.ExcaliburComponentManager;
  -import org.apache.avalon.excalibur.component.ExcaliburComponentSelector;
   
   import org.apache.avalon.framework.activity.Initializable;
   import org.apache.avalon.framework.component.Component;
  @@ -80,16 +78,13 @@
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.DefaultConfigurationBuilder;
   import org.apache.avalon.framework.context.Context;
  -import org.apache.avalon.framework.context.ContextException;
   import org.apache.avalon.framework.context.Contextualizable;
  -import org.apache.avalon.framework.logger.LogEnabled;
   
   import org.apache.log.Logger;
   import org.apache.log.Hierarchy;
   
   import org.apache.xindice.webdav.methods.DAVMethod;
   import org.apache.xindice.webdav.datasource.DAVDataSource;
  -import org.apache.xindice.webdav.datasource.DAVObjectException;
   
   /** 
    *  This is the entry point for the Xindice WebDAV implementation.
  
  
  
  1.3       +1 -2      xml-xindice/java/scratchpad/src/org/apache/xindice/webdav/datasource/DAVDataSource.java
  
  Index: DAVDataSource.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/webdav/datasource/DAVDataSource.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- DAVDataSource.java	4 Nov 2002 00:36:49 -0000	1.2
  +++ DAVDataSource.java	4 Apr 2003 08:31:30 -0000	1.3
  @@ -57,7 +57,6 @@
   
   package org.apache.xindice.webdav.datasource;
   
  -import org.apache.avalon.framework.logger.AbstractLoggable;
   import org.apache.avalon.framework.component.Component;
   import org.apache.avalon.framework.configuration.Configuration;
   import org.apache.avalon.framework.configuration.ConfigurationException;
  
  
  
  1.2       +1 -2      xml-xindice/java/scratchpad/src/org/apache/xindice/client/xmldb/xmlrpcssl/DatabaseImpl.java
  
  Index: DatabaseImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/client/xmldb/xmlrpcssl/DatabaseImpl.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- DatabaseImpl.java	21 Dec 2002 06:13:27 -0000	1.1
  +++ DatabaseImpl.java	4 Apr 2003 08:31:30 -0000	1.2
  @@ -58,7 +58,6 @@
    * $Id$
    */
   import org.apache.xindice.client.xmldb.CommonConfigurable;
  -import org.apache.xindice.client.xmldb.xmlrpcssl.CollectionImpl;
   
   import org.xmldb.api.base.Collection;
   import org.xmldb.api.base.Database;
  
  
  
  1.3       +1 -3      xml-xindice/java/scratchpad/src/org/apache/xindice/client/xmldb/xmlrpcssl/CollectionImpl.java
  
  Index: CollectionImpl.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/client/xmldb/xmlrpcssl/CollectionImpl.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- CollectionImpl.java	21 Dec 2002 06:40:38 -0000	1.2
  +++ CollectionImpl.java	4 Apr 2003 08:31:31 -0000	1.3
  @@ -62,8 +62,6 @@
   import org.apache.xindice.client.xmldb.ResourceSetImpl;
   import org.apache.xindice.client.xmldb.XindiceCollection;
   import org.apache.xindice.client.xmldb.resources.XMLResourceImpl;
  -import org.apache.xindice.client.xmldb.xmlrpcssl.X509TrustManagerImpl;
  -import org.apache.xindice.client.xmldb.xmlrpcssl.HostnameVerifierImpl;
   import org.apache.xindice.core.FaultCodes;
   import org.apache.xindice.server.rpc.RPCDefaultMessage;
   import org.apache.xindice.util.SymbolDeserializer;
  
  
  
  1.4       +1 -2      xml-xindice/java/scratchpad/src/org/apache/xindice/webdav/datasource/xmldb/XMLDBDataSource.java
  
  Index: XMLDBDataSource.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/webdav/datasource/xmldb/XMLDBDataSource.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XMLDBDataSource.java	4 Nov 2002 02:11:27 -0000	1.3
  +++ XMLDBDataSource.java	4 Apr 2003 08:31:31 -0000	1.4
  @@ -59,7 +59,6 @@
   
   import org.xmldb.api.DatabaseManager;
   import org.xmldb.api.base.Database;
  -import org.xmldb.api.base.XMLDBException;
   import org.xmldb.api.base.Collection;
   import org.xmldb.api.modules.XMLResource;
   
  
  
  
  1.2       +1 -1      xml-xindice/java/scratchpad/src/org/apache/xindice/core/fulltext/PorterStemmer.java
  
  Index: PorterStemmer.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/core/fulltext/PorterStemmer.java,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- PorterStemmer.java	25 Jul 2002 01:04:02 -0000	1.1
  +++ PorterStemmer.java	4 Apr 2003 08:31:31 -0000	1.2
  @@ -56,7 +56,7 @@
        *
        * The Stemmer class transforms a word into its root form.  The input
        * word can be provided a character at time (by calling add()), or at once
  -     * by calling one of the various stem(something) methods.
  +     * by calling one of the various stem(something) method.
        */
      
      private class Stemmer
  
  
  
  1.3       +1 -2      xml-xindice/java/scratchpad/src/org/apache/xindice/core/fulltext/FullTextIndexer.java
  
  Index: FullTextIndexer.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/core/fulltext/FullTextIndexer.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- FullTextIndexer.java	28 Oct 2002 00:09:09 -0000	1.2
  +++ FullTextIndexer.java	4 Apr 2003 08:31:32 -0000	1.3
  @@ -60,7 +60,6 @@
    */
   
   import org.apache.xindice.core.*;
  -import org.apache.xindice.core.Collection;
   import org.apache.xindice.core.data.*;
   import org.apache.xindice.core.filer.*;
   import org.apache.xindice.core.indexer.*;
  
  
  
  1.3       +3 -9      xml-xindice/java/scratchpad/src/org/apache/xindice/tools/XMLTools.java
  
  Index: XMLTools.java
  ===================================================================
  RCS file: /home/cvs/xml-xindice/java/scratchpad/src/org/apache/xindice/tools/XMLTools.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- XMLTools.java	6 May 2002 14:43:02 -0000	1.2
  +++ XMLTools.java	4 Apr 2003 08:31:33 -0000	1.3
  @@ -73,18 +73,12 @@
   import org.w3c.dom.*;
   
   import java.util.Hashtable;
  -import java.util.Properties;
   import java.util.NoSuchElementException;
   
   import java.io.File;
   import java.io.FileInputStream;
   import java.io.FileNotFoundException;
   
  -import javax.xml.parsers.DocumentBuilderFactory;
  -import javax.xml.parsers.DocumentBuilder;
  -import javax.xml.parsers.ParserConfigurationException;
  -
  -
   /**
    * XMLAdmin is designed to take command line arguments and give
    * user Xindice management flexibility within the current Database.
  @@ -558,10 +552,10 @@
   
   
      /**
  -    * The following Security methods are simply a starting point. User names and
  +    * The following Security method are simply a starting point. User names and
       * their related passwords will not be this simple. Until Encryption for
       * Passwords are developed, and KeyStorage is set-up, this will do for now.
  -    * In the future, these methods will change as needed to be more efficient
  +    * In the future, these method will change as needed to be more efficient
       * for Xindice.
       */