Revision 2106
Added by Matt Jones over 20 years ago
src/edu/ucsb/nceas/metacat/DBQuery.java | ||
---|---|---|
511 | 511 |
npstmt.close(); |
512 | 512 |
btrs.close(); |
513 | 513 |
} |
514 |
else if (returndocVec.size() != 0 && returndocVec.contains(doctype))
|
|
514 |
else if (returndocVec.size() == 0 || returndocVec.contains(doctype))
|
|
515 | 515 |
{ |
516 | 516 |
|
517 | 517 |
document = new StringBuffer(); |
Also available in: Unified diff
Fixed the returndoctype bug in DBQuery as described in bug 1451. Now,
results are returned even if returndoctype is null, which is the
appropriate behavior.