Revision 7045
Added by ben leinfelder about 12 years ago
ReplicationHandler.java | ||
---|---|---|
398 | 398 |
SystemMetadata.class, |
399 | 399 |
new ByteArrayInputStream(systemMetadataXML.getBytes("UTF-8"))); |
400 | 400 |
// need the guid-to-docid mapping |
401 |
if (!IdentifierManager.getInstance().identifierExists(sysMeta.getIdentifier().getValue())) {
|
|
401 |
if (!IdentifierManager.getInstance().mappingExists(sysMeta.getIdentifier().getValue())) {
|
|
402 | 402 |
IdentifierManager.getInstance().createMapping(sysMeta.getIdentifier().getValue(), accNumber); |
403 | 403 |
} |
404 | 404 |
// save the system metadata |
... | ... | |
565 | 565 |
SystemMetadata.class, |
566 | 566 |
new ByteArrayInputStream(systemMetadataXML.getBytes("UTF-8"))); |
567 | 567 |
// need the guid-to-docid mapping |
568 |
if (!IdentifierManager.getInstance().identifierExists(sysMeta.getIdentifier().getValue())) {
|
|
568 |
if (!IdentifierManager.getInstance().mappingExists(sysMeta.getIdentifier().getValue())) {
|
|
569 | 569 |
IdentifierManager.getInstance().createMapping(sysMeta.getIdentifier().getValue(), accNumber); |
570 | 570 |
} |
571 | 571 |
// save the system metadata |
Also available in: Unified diff
check whether mapping (