Revision 9361
Added by Jing Tao over 9 years ago
src/edu/ucsb/nceas/metacat/dataone/CNodeService.java | ||
---|---|---|
352 | 352 |
// update the metadata |
353 | 353 |
try { |
354 | 354 |
systemMetadata.setSerialVersion(systemMetadata.getSerialVersion().add(BigInteger.ONE)); |
355 |
systemMetadata.setDateSysMetadataModified(Calendar.getInstance().getTime()); |
|
355 |
//we don't need to update the modification date. |
|
356 |
//systemMetadata.setDateSysMetadataModified(Calendar.getInstance().getTime()); |
|
356 | 357 |
HazelcastService.getInstance().getSystemMetadataMap().put(systemMetadata.getIdentifier(), systemMetadata); |
357 | 358 |
} catch (RuntimeException e) { |
358 | 359 |
throw new ServiceFailure("4882", e.getMessage()); |
Also available in: Unified diff
In the deleteReplicationMetadata method, the modification date of the system metadata will not be reset.