adjust mappings handling code generating diffs
This commit is contained in:
parent
f8a19a1bae
commit
813a850730
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue