Revision 6726
Added by ben leinfelder almost 13 years ago
src/edu/ucsb/nceas/metacat/dataone/SystemMetadataFactory.java | ||
---|---|---|
460 | 460 |
// TODO: other fields to update? |
461 | 461 |
resourceMapSysMeta.setObsoletes(null); |
462 | 462 |
resourceMapSysMeta.setObsoletedBy(null); |
463 |
resourceMapSysMeta.setSize(BigInteger.valueOf(sizeOfStream(IOUtils.toInputStream(resourceMapXML, MetaCatServlet.DEFAULT_ENCODING)))); |
|
463 | 464 |
|
464 | 465 |
// save it locally |
465 | 466 |
Session session = new Session(); |
Also available in: Unified diff
set the byte size of the ORE map before adding it