Project

General

Profile

« Previous | Next » 

Revision 1467

Added by Jing Tao almost 22 years ago

Fixed a bug in reading data file.

View differences:

src/edu/ucsb/nceas/metacat/DocumentImpl.java
1451 1451
        DBConnectionPool.returnDBConnection(dbconn, serialNumber);
1452 1452
      }
1453 1453
    }
1454
      
1455

  
1456
    if (!nodeRecordList.isEmpty()) {
1457
      return nodeRecordList;
1458
    } else {
1459
      throw new McdbException("Error getting node data: " + docid);
1460
    }
1454
  
1455
    return nodeRecordList;
1456
   
1461 1457
  }
1462 1458
  
1463 1459
// NOT USED ANY MORE

Also available in: Unified diff