Project

General

Profile

« Previous | Next » 

Revision 6305

check for null docid from access table -- using guid for many system meta rows

View differences:

src/edu/ucsb/nceas/metacat/spatial/SpatialHarvester.java
91 91
      rs = pstmt.getResultSet();
92 92
      while (rs.next()) {
93 93
        String docid = rs.getString(1);
94
        //log.fatal("adding docid: " + docid);
95
        _docs.add(docid);
94
        if (docid != null) {
95
	        //log.fatal("adding docid: " + docid);
96
	        _docs.add(docid);
97
        }
96 98
    }
97 99
      rs.close();
98 100
      pstmt.close();

Also available in: Unified diff