Changeset 8861


Ignore:
Timestamp:
2004-12-17T17:11:46+13:00 (19 years ago)
Author:
cs025
Message:

Changed use of touchDocuments to use a long value as the timestamp

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/gs3build/doctypes/DocumentList.java

    r8742 r8861  
    321321    // set the document identifier, if not already set
    322322    if (document.getID() == null) {
    323       System.out.println("Posting new document ID");
     323      System.out.println("Posting new docuument ID");
    324324      DocumentID id = this.idFactory.getNewDocumentID(document);
    325325      document.setID(id);
     
    390390   *  @param <code>The date of the new build cycle</code>
    391391   */
    392   public void updateTimestamps(java.util.Date time)
     392  public void updateTimestamps(long buildTimeStamp)
    393393  { Iterator documents = this.iterator();
    394394    int item = 0;
     
    403403    System.out.println("Updating timestamps " + thisTimeStamp + " " + lastTimeStamp);
    404404
    405     DocumentSQLWriter.touchDocument(document.getID(), this.connection, time.getTime(), thisTimeStamp);
     405    DocumentSQLWriter.touchDocument(document.getID(), this.connection, buildTimeStamp, thisTimeStamp);
    406406      }
    407407    }
Note: See TracChangeset for help on using the changeset viewer.