adjust mappings handling code generating diffs

This commit is contained in:
Grahame Grieve 2023-03-19 08:52:37 +11:00
parent f8a19a1bae
commit 813a850730
1 changed files with 3 additions and 1 deletions

View File

@ -2350,7 +2350,9 @@ public class ProfileUtilities extends TranslatingUtilities {
if (d.getIdentity().equals(s.getIdentity())) {
switch (mappingMergeMode) {
case APPEND:
d.setMap(d.getMap()+";"+s.getMap());
if (!Utilities.splitStrings(d.getMap(), "\\,").contains(s.getMap())) {
d.setMap(d.getMap()+","+s.getMap());
}
return true;
case DUPLICATE:
return false;