Project

General

Profile

« Previous | Next » 

Revision 475

Added by berkley about 24 years ago

removed system.out.printlns

View differences:

src/edu/ucsb/nceas/metacat/DBQuery.java
176 176
          
177 177
          if(returndocVec.size() != 0 && !returndocVec.contains(doctype))
178 178
          { //there are returndocs to match (backtracking can now be performed). 
179
  System.out.println("olddoctype: " + doctype);
179
            //System.out.println("olddoctype: " + doctype);
180 180
            StringBuffer btBuf = new StringBuffer();
181 181
            btBuf.append("select object from xml_relation where ");
182 182
            btBuf.append("objdoctype in (");
......
187 187
              if(i != (returndocVec.size() - 1))
188 188
              {
189 189
                btBuf.append(", ");
190
              }
190
              } 
191 191
            }
192 192
            btBuf.append(") ");
193 193
            btBuf.append("and subject like '");
......
200 200
            if(hasBtRows)
201 201
            { //there was a backtrackable document found
202 202
              DocumentImpl xmldoc = null;
203
   System.out.println("document found is: " + btrs.getString(1));
203
              //System.out.println("document found is: " + btrs.getString(1));
204 204
              metacatURL objURL = new metacatURL(btrs.getString(1));
205 205
              try
206 206
              {
......
717 717

  
718 718
/**
719 719
 * '$Log$
720
 * 'Revision 1.22  2000/09/27 20:11:17  berkley
721
 * 'added support for urls of the form "metacat://server.xyz.com?docid=XXX:yy"
722
 * '
720 723
 * 'Revision 1.21  2000/09/26 22:06:51  berkley
721 724
 * 'Added backtrack functionality.  Backtracking works by passing a returndoc parameter.  There can be more than one.  If a document that is hit by a query is not of type returndoc then it searches the database for a related file of type returndoc.  If one is found it is displayed, if no relation is found, the original is displayed.
722 725
 * '

Also available in: Unified diff