Revision 6358
Added by ben leinfelder over 13 years ago
src/edu/ucsb/nceas/metacat/dataone/MetadataTypeRegister.java | ||
---|---|---|
58 | 58 |
while(vals.hasNext()) |
59 | 59 |
{ |
60 | 60 |
String val = vals.next(); |
61 |
String ofVal = format.toString();
|
|
61 |
String ofVal = format.getFmtid().getValue();
|
|
62 | 62 |
//System.out.println("val: " + val); |
63 | 63 |
if(val.trim().equals(ofVal.trim())) |
64 | 64 |
{ |
Also available in: Unified diff
use the ObjectFormat Id (not toString()) to check against the configured science metadata formats