Revision 2360
Added by sgarg almost 20 years ago
src/edu/ucsb/nceas/metacat/DBQuery.java | ||
---|---|---|
886 | 886 |
|
887 | 887 |
for (int count = 0; count < parentidList.size(); count++) { |
888 | 888 |
tempVector = (Vector) parentidList.get(count); |
889 |
if (parentId.compareTo((String) tempVector.get(0)) == 0) { return false; }
|
|
889 |
if (parentId.compareTo((String) tempVector.get(0)) == 0) { return true; }
|
|
890 | 890 |
} |
891 | 891 |
return false; |
892 | 892 |
} |
Also available in: Unified diff
Fixed a bug in containsKey() function.