Project

General

Profile

« Previous | Next » 

Revision 486

Added by berkley about 24 years ago

removed debug print statements.

View differences:

src/edu/ucsb/nceas/metacat/DBSAXHandler.java
175 175
  
176 176
  // The run method of xmlIndex thread. It writes XML Index for the document.
177 177
  public void run () {
178
    System.out.println("Jivka's thread is starting");
179 178
    DBSAXNode currNode = null;
180 179
    DBSAXNode prevNode = null;
181 180
    int step = 0;
......
196 195
    
197 196
      conn.commit();
198 197
      
199
      System.out.println("Jivka's thread is done executing");
200 198
      //if this is a package file then write the package info to 
201 199
      //the xml_relation table. relationHandler checks to see
202 200
      //if it is a package file so you don't have to do it here.
203 201
      DocumentImpl xmldoc = new DocumentImpl(conn, docid);
204
      System.out.println("starting chad's thread");
205 202
      relationHandler rth = new relationHandler(xmldoc, conn);
206 203
      
207 204
      util.returnConnection(conn);
src/edu/ucsb/nceas/metacat/relationHandler.java
16 16

  
17 17
import java.sql.*;
18 18
import java.util.*;
19
import java.lang.Thread;
19
import java.lang.Thread; 
20 20

  
21 21
public class relationHandler implements Runnable
22 22
{
src/edu/ucsb/nceas/metacat/MetaCatServlet.java
838 838
                }
839 839
                newdocid = DocumentImpl.write(conn, xml, doAction, accNumber, 
840 840
                                              user, group);
841
               
842
               //if this is a package file then write the package info to 
843
               //the xml_relation table. relationHandler checks to see
844
               //if it is a package file so you don't have to do it here.
845
               //DocumentImpl xmldoc = new DocumentImpl(conn, newdocid); 
846
               //relationHandler rth = new relationHandler(xmldoc, conn);
847 841
                
848 842
            } catch (NullPointerException npe) {
849 843
              newdocid = DocumentImpl.write(conn,xml,doAction,null,user,group);

Also available in: Unified diff