Ignore:
Timestamp:
2012-09-19T09:55:36+12:00 (12 years ago)
Author:
jmt12
Message:

Sanity check trying to track down bogus docno value

File:
1 edited

Legend:

Unmodified
Added
Removed
  • gs2-extensions/video-and-audio/trunk/src/opt/Terrier/ImageDocument.java

    r26190 r26207  
    7878    String target_filename = "doc." + ext;
    7979    this.properties.put("source","doc." + ext);
    80     String assoc_filename = "D" + properties.get("docno");
     80    String assoc_filename = "D" + this.properties.get("docno");
     81    if (assoc_filename.equals("Dnull"))
     82    {
     83      System.err.println("Error! Bogus assoc dir: " + this.properties.get("docno"));
     84      System.exit(0);
     85    }
     86
    8187    this.properties.put("assocfile", assoc_filename);
    8288
Note: See TracChangeset for help on using the changeset viewer.