Use dedup_wf_002 in place of dedup_wf_001 to make explicit a different algorithm has been used to generate those kind of ids

This commit is contained in:
Giambattista Bloisi 2023-12-22 09:55:10 +01:00 committed by Giambattista Bloisi
parent 831cc1fdde
commit 10e135db1e
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ public class IdGenerator implements Serializable {
if (PidType.isValid(pidType)) {
return prefix + "|" + dedupify(ns) + "::" + suffix;
} else {
return prefix + "|dedup_wf_001::" + md5(originalId); // hash the whole originalId to avoid collisions
return prefix + "|dedup_wf_002::" + md5(originalId); // hash the whole originalId to avoid collisions
}
}