r4499 - trunk/src/edu/ucsb/nceas/metacat

daigle at ecoinformatics.org daigle at ecoinformatics.org
Mon Nov 3 10:59:59 PST 2008


Author: daigle
Date: 2008-11-03 10:59:59 -0800 (Mon, 03 Nov 2008)
New Revision: 4499

Modified:
   trunk/src/edu/ucsb/nceas/metacat/DocumentImplWrapper.java
Log:
Clean up comments and remove extra includes

Modified: trunk/src/edu/ucsb/nceas/metacat/DocumentImplWrapper.java
===================================================================
--- trunk/src/edu/ucsb/nceas/metacat/DocumentImplWrapper.java	2008-11-03 18:59:53 UTC (rev 4498)
+++ trunk/src/edu/ucsb/nceas/metacat/DocumentImplWrapper.java	2008-11-03 18:59:59 UTC (rev 4499)
@@ -28,15 +28,6 @@
 package edu.ucsb.nceas.metacat;
 
 import java.io.Reader;
-import org.xml.sax.ContentHandler;
-import org.xml.sax.DTDHandler;
-import org.xml.sax.EntityResolver;
-import org.xml.sax.ErrorHandler;
-import org.xml.sax.InputSource;
-import org.xml.sax.XMLReader;
-import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
-import org.xml.sax.helpers.XMLReaderFactory;
 
 //import edu.ucsb.nceas.metacat.spatial.MetacatSpatialDocument;
 
@@ -81,7 +72,7 @@
                                         String updateDate)
                                         throws Exception
   {
-    //we don't need to check validation in replciation
+    //we don't need to check validation in replication
     // so rule base is null and need validation is false (first false)
     // this method is for force replication. so the table name is xml_documents
      // and timed replication is false (last false)
@@ -119,11 +110,12 @@
           boolean timedReplication, String createDate, String updateDate)
           throws Exception
   {
-   //we don't need to check validation in replciation
+   //we don't need to check validation in replication
    // so rule base is null and need validation is false
    return DocumentImpl.writeReplication(conn, xml, pub, dtd, action, 
           accnum, user, groups, homeServer, 
           notifyServer, ruleBase, false, tableName, 
           timedReplication, createDate, updateDate);
   }
-}//DocumentImple
+
+}



More information about the Metacat-cvs mailing list